[Bug 659438] Updated
Sebastian Heinlein
659438 at bugs.launchpad.net
Sun Apr 8 06:34:57 UTC 2012
In Precise the issue doesn't appear since there is a race between the
simulate() and the run() method which eats the exception. This race
situation has been fixed in trunk recently that hasn't been uploaded
yet.
Furthermore aptdaemon trunk now catches the exception in the
apt.cache.Cache.required_download call and lets the transaction fail
with an ERROR_INCOMPLETE_INSTALL. So we won't get any bug reports of
this anymore - although the issue isn't fixed on the lower level
(debconf/apt).
Unfortunately software-center doesn't handle the
ERROR_INCOMPLETE_INSTALL correctly yet. It just displays the error
message but doesn't offer to run the FixIncompleteInstall() method of
aptdaemon which would basically run "dpkg --configure -a" and fix the
system.
Additionally the current error message doesn't contain any hind to run
sudo dpkg --configure -a manually.
But it seems to be a first step to resolve the issue. I will try to
create a working patch for s-c in the next days.
--
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:
Triaged
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