Bug#194601: apt: available file corrupted on update
On Sun, May 25, 2003 at 01:00:40PM -0700, Jonathan Walther wrote:
> >On Sat, May 24, 2003 at 06:28:47PM -0700, Jonathan Walther wrote:
>
> rm /var/cache/apt/{*.bin,available*}
> rm /var/lib/dpkg/available*
> dselect update
>
> Unless the problem reappears in a day or two, let us consider the bug
> closed. Anyway the above commands could be incorporated into a new
> release of apt or dpkg or dselect or something? If I ran into this
> corruption problem when using an older version, probably some others
> will too, and it will guarantee they are able to upgrade properly.
If removing /var/cache/apt/*.bin fixed the problem, then those files must
have been corrupted somehow. This is known to break all sorts of things.
> What creates /var/cache/apt/available anyway? What uses it?
As far as I know, it is a temporary file, used only by
/usr/lib/dpkg/methods/apt/update. It is removed if dpkg --update-avail
succeeds.
--
- mdz
Reply to: