[Bug 788121] Re: python-aptdaemon should depend on python-pkg-resources
Launchpad Bug Tracker
788121 at bugs.launchpad.net
Fri Aug 26 10:11:25 UTC 2011
This bug was fixed in the package aptdaemon - 0.43+bzr686
---------------
aptdaemon (0.43+bzr686) oneiric; urgency=low
* New bzr snapshot:
- Improve apport integration by adding a package hook and only sending
reports if running as a system service
- Fix default values for ProgressDetails signal
- Fixes to the test suite
- More debugging output to help resolve DBus type conversion/overflow
errors
* debian/aptdaemon.install:
- Ship apport package hook
- Ship desktop file to provide a nicer name in apport dialogs
* debian/control:
- Add missing dependency on python-pkg-resources to python-aptdaemon
(LP: #788121)
-- Sebastian Heinlein <devel at glatzor.de> Fri, 26 Aug 2011 10:26:36 +0200
** Changed in: aptdaemon (Ubuntu)
Status: New => Fix Released
--
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:
Fix Released
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