[Bug 788121] Re: python-aptdaemon should depend on python-pkg-resources

Launchpad Bug Tracker 788121 at bugs.launchpad.net
Fri Aug 26 06:50:23 UTC 2011


** Branch linked: lp:~glatzor/aptdaemon/ubuntu-oneiric

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

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

Status in “aptdaemon” package in Ubuntu:
  New

Bug description:
  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 at 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 at 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/788121/+subscriptions




More information about the foundations-bugs mailing list