[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#683354: Bug#684038: /usr/bin/apt-get: apt-get remove says " package cache file is corrupted"



On Mon, Aug 6, 2012 at 5:47 PM, Nigel Horne <njh@bandsman.co.uk> wrote:
>>  As denoted in the merged bug downgrading to 0.9.7.2 helps for now.
> Thanks for your reply. I tried your suggestion, but it fails with the same
> error:
>
> # apt-get install apt=0.9.7.2 libapt-pkg4.12=0.9.7.2
> Reading package lists... Done
> E: The package cache file is corrupted

You have to do download them manually - either the 0.9.7.2 or
the few minutes ago uploaded 0.9.7.4 (if it is built) and install
it manually with dpkg.

That said something like
apt-get update -o APT::Cache-Grow=0
apt-get install libapt-pkg4.12=0.9.7.2
(or: apt-get install libapt-pkg4.12=0.9.7.4 )
might work as well as it should prevent APT from using the
faulty code to write the package cache file (and corrupting it).
(I haven't tested this workaround through.)

Sorry for the inconvenience.


Best regards

David Kalnischkies


Reply to: