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

Re: Aptitude message.



On Friday 22 January 2016 11:49:15 Brian wrote:
> On Fri 22 Jan 2016 at 20:55:05 +1000, Weaver wrote:
> > Am receiving this on 'aptitude update'.
> > ~~~~~~~~~~~~~~~~~~
> > root@Telaman:/home/weaver# aptitude update
> > Hit http://ftp.au.debian.org/debian unstable InRelease
> > [ ERR] Reading package lists
> > E: Unable to parse package file
> > /var/lib/apt/lists/ftp.au.debian.org_debian_dists_unstable_contrib_binary
> >-amd64_Packages (1)
> > W: You may want to run apt-get update to correct these problems
> > E: The package cache file is corrupted
> > E: Couldn't rebuild package cache
> > ~~~~~~~~~~~~~~~~~~~
> > I'm able to run the update process without incident, and it finishes
> > cleanly.
> > Is anybody else getting this?
> > /etc/apt/sources.list is fine, with contrib included as per usual, so I
> > can only assume it's unavailable at the server end.
> >
> > Other than that, there was a power failure during the night that might
> > have done some damage, and I might have to begin a data rescue scenario.
>
> Comment out everything in sources.list. Update. /var/lib/apt/lists/ should
> now have only /partial and lock.
>
> Uncomment a ftp.au.debian.org line, perhaps without contrib, Update.
>
> Continue adding to sources.list and updating
>
> How does that go?

I had this problem once and had to delete the package cache and the update to 
let it rebuild.

Lisi


Reply to: