No modules named 'debian':kcmsystemd?

Started by clubex, 2015/07/06, 11:11:58

Previous topic - Next topic

clubex

Since last night's du (which contained only kcmsystemd) apt fails when doing apt-get update.
This error is reported as:-

Fetched 136 kB in 27s (4,931 B/s)
Traceback (most recent call last):
  File "/usr/bin/debtags", line 32, in <module>
    from debian import deb822
ImportError: No module named 'debian'
Reading package lists... Done

Consequently apt is broken on my system.

Anyone know how to fix it?

As this only happened after kcmsystemd was upgraded I'm posting here as it may also affect others.

clubex

Installing 'python3.debian' is the remedy. Somehow python3.debian wasn't on my system.

I must presume this failing is local to me so please feel free to move the post to a more appropriate section of the forum.


ghstryder

Not just you. My error was different though. I had to install python3-apt to get rid of the error. I started from a fresh Indian Summer install when Plasma5 hit.

root@p690: dpkg --configure -a
Setting up debtags (2.0) ...
Traceback (most recent call last):
  File "/usr/bin/debtags", line 25, in <module>
    import apt
ImportError: No module named 'apt'




dibl

It happens that I installed Indian Summer just yesterday and when I saw this post, I checked it and neither python3.debian nor python-apt were installed.  However, apt is working correctly on this system -- I just ran d-u ten minutes ago and there was no problem.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.

Santa

Hi,


this package is broken both on siduction and kubuntu, we are working on a fix, I will post here again once we got it working.


Sorry for the inconvenience.

ghstryder

Quote from: Santa on 2015/07/06, 18:57:32
Sorry for the inconvenience.

Just my opinion, but the last thing you owe us is an apology. This has been ridiculously painfree. I know that is due to the efforts of a lot of people, but you're the one here, now. Thank you again!

siduction, where we have Plasma Ahhhhhhhh

clubex


Santa

Thanks for the praise.


A new version of this package is available in kdenext (1.2.0-0u0+siduction1.1) this one at least shows up in the systemsettings, but I haven't actually tested it, just fixed the package, so please let me know if it works or not.

ghstryder

That fixed it here. I had an entry for systemd, but it came up with errors. No errors, and all the tabs have content now. Thanks.

clubex

Ditto for me. No more errors although I haven't used it for anything serious yet.