Comment 28 for bug 659438

Revision history for this message
王平 (soft-for-java) wrote : RE: [Bug 659438] Re: Installation/Removal fails because of package which could not be located (faiulre in apt.Cache.required_download)

I've already solved, thank you

> Date: Mon, 3 Jan 2011 11:30:12 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 659438] Re: Installation/Removal fails because of package which could not be located (faiulre in apt.Cache.required_download)
>
> This bug was fixed in the package aptdaemon - 0.40+bzr529-0ubuntu3
>
> ---------------
> aptdaemon (0.40+bzr529-0ubuntu3) natty; urgency=low
>
> [ Sebastian Heinlein ]
> * debian/patches/09_fix_index_race_659438.patch:
> - If the background cron job rebuilds the apt indexes the
> apt.Cache.required_download method fails, since it tries to access
> the not available indexes. This patch is a workaround since it
> is requires a lock on the indexes before caluclating the size
> (LP: #659438)
> -- Michael Vogt <email address hidden> Mon, 03 Jan 2011 12:26:48 +0100
>
> ** Branch linked: lp:~aptdaemon-developers/aptdaemon/ubuntu-natty
>
> ** Changed in: aptdaemon (Ubuntu)
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (691064).
> https://bugs.launchpad.net/bugs/659438
>
> Title:
> Installation/Removal fails because of package which could not be located (faiulre in apt.Cache.required_download)
>
> Status in Aptdaemon:
> Incomplete
> Status in “aptdaemon” package in Ubuntu:
> Fix Released
> Status in “python-apt” package in Ubuntu:
> New
> Status in “aptdaemon” source package in Maverick:
> Fix Committed
> Status in “python-apt” source package in Maverick:
> New
>
> Bug description:
> 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 unsubscribe from this bug, go to:
> https://bugs.launchpad.net/aptdaemon/+bug/659438/+subscribe