Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: clubex on 2015/07/06, 11:11:58

Title: No modules named 'debian':kcmsystemd?
Post by: clubex on 2015/07/06, 11:11:58
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.
Title: Re: No modules named 'debian':kcmsystemd?
Post by: clubex on 2015/07/06, 11:27:04
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.

Title: Re: No modules named 'debian':kcmsystemd?
Post by: ghstryder on 2015/07/06, 15:01:23
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'



Title: Re: No modules named 'debian':kcmsystemd?
Post by: dibl on 2015/07/06, 15:36:15
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.
Title: Re: No modules named 'debian':kcmsystemd?
Post by: Santa on 2015/07/06, 18:57:32
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.
Title: Re: No modules named 'debian':kcmsystemd?
Post by: ghstryder on 2015/07/06, 20:58:05
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
Title: Re: No modules named 'debian':kcmsystemd?
Post by: clubex on 2015/07/06, 23:33:03
+1 many times over!
Title: Re: No modules named 'debian':kcmsystemd?
Post by: Santa on 2015/07/07, 01:39:32
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.
Title: Re: No modules named 'debian':kcmsystemd?
Post by: ghstryder on 2015/07/07, 07:29:12
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.
Title: Re: No modules named 'debian':kcmsystemd?
Post by: clubex on 2015/07/07, 13:07:56
Ditto for me. No more errors although I haven't used it for anything serious yet.