[Bug 659438] Re: Installation/Removal fails because of package which could not be located (failure in apt.Cache.required_download)
Launchpad Bug Tracker
659438 at bugs.launchpad.net
Tue Apr 10 12:16:56 UTC 2012
This bug was fixed in the package aptdaemon - 0.43+bzr805-0ubuntu1
---------------
aptdaemon (0.43+bzr805-0ubuntu1) precise; urgency=low
* New upstream snapshot:
- Fix: Catch a possible exception in apt.cache.Cache.required_download
which can occur if the user e.g. rebooted the system during a running
debconf question (fixes LP: #659438)
Furthermore raise ERROR_INCOMPLETE_INSTALL to signal the client
that a call of FixIncompleteInstall() (basically a dpkg --configure -a
call) fixes the issue
- Fix: Sync all properties of the D-Bus transaction in the client before
emitting the Finished signal (fixes LP: #747172) to ensure all changed
properties are available (the order of received signals is not
guranteed and the finished signal could be received before an error
signal)
Additionally raise the timeout before removing a transaction from
D-Bus on the server side to give clients more time to sync
- Fix wrong variable names in the download progress (fixes LP: #971839,
LP: #976521)
- Fix: Catch a possible pipe reading error (fixes LP: #733090)
- Fix: Don't show the name of aptdaemon in crash reports
(fixes LP: #973370)
Aptdaemon is a system daemon and should work and fail silently
- Fix: Fallback to a default terminal width of 80 chars (fixes LP: #948588)
The width request could fail on standard input/output redirections
- Fix: Don't use a reserved name for the simulate helper function
- Fix: Convert exceptions to string before raising TransactionFailed()
- Fix wrong variable name in the add license key failed error message
- Fix: Don't overwrite the GObject.GObject.disconnect in
aptdemon.client.Transaction by renaming the method to
_disconnect_from_dbus()
- Fix: Allow to cancel a transaction which hasn't been queued yet and
is still in limbo
- Fix: Raise NotImplementedError instead of ImplementedError
- Add a test case for config file changes handling
* debian/aptdaemon.install:
- Don't ship the obsolete .desktop file anymore
-- Sebastian Heinlein <glatzor at ubuntu.com> Mon, 09 Apr 2012 20:48:44 +0200
** Changed in: aptdaemon (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/659438
Title:
Installation/Removal fails because of package which could not be
located (failure in apt.Cache.required_download)
Status in Aptdaemon:
Fix Committed
Status in “apt” package in Ubuntu:
Triaged
Status in “aptdaemon” package in Ubuntu:
Fix Released
Status in “python-apt” package in Ubuntu:
Invalid
Status in “apt” source package in Maverick:
Confirmed
Status in “aptdaemon” source package in Maverick:
Fix Released
Status in “python-apt” source package in Maverick:
Invalid
Bug description:
Steps to reproduce:
1. Run apt-get nstall ms-ttcorefonts-installer in a terminal
2. Close the terminal window at the EULA question (apt-get/dpkg/debconf) will sting hang in the background and lock the system)
3. Reboot
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
return self._simulate_helper(trans, status_path)
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 936, in _simulate_helper
return depends, status, self._cache.required_download, \
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 218, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the liblua50 package. This might mean you need to manually fix this package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/659438/+subscriptions
More information about the foundations-bugs
mailing list