Public bug reported:

Binary package hint: aptdaemon

if python-pkg-resources package is not installed aptd crashes when
worker.py from python-aptdaemon_0.41+bzr646-0ubuntu2_all.deb tries to
import pkg_resources module.

How to recreate in Ubuntu 11.04:
user@host:~$ sudo apt-get remove python-pkg-resources
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  python-pkg-resources
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 213 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 51936 files and directories currently installed.)
Removing python-pkg-resources ...
user@host:~$ sudo aptd
Traceback (most recent call last):
  File "/usr/sbin/aptd", line 25, in <module>
    import aptdaemon.core
  File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 67, in 
<module>
    from worker import AptWorker, DummyWorker
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 43, in 
<module>
    import pkg_resources
ImportError: No module named pkg_resources

Seems it was already fixed in Debian: http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=603662

** Affects: aptdaemon (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/788121

Title:
  python-aptdaemon should depend on python-pkg-resources

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to