Jason Gunthorpe wrote:
> 
> On Tue, 8 Jun 1999, Keith G. Murphy wrote:
> 
> > Recently, apt-get has started segfaulting on me every time I do an
> > apt-get install.  It will also often do it in the upgrade phase.  This
> > is, of course, quite frustrating.  I'm using the 0.3.6 package.
> >
> > Has anyone seen this before?  Does anyone know a workaround or fix?
> 
> Usually rm /var/cache/apt/*.bin fixes it.. Somehow the cache files got
> corrupted which isn't supposed to be possible.. Do you know what you did
> before this started?
> 
Ahhh, that fixed it.  I had actually thought of this before, but had
only deleted (mv'ed, actually) pkgcache.bin, not srcpkgcache.bin (guess
I thought it surely couldn't have much in the source package cache...).

As to what I did: I believe it started when I stupidly started an
apt-get upgrade, then realized I didn't want to upgrade all that shit
and CTRL/C'ed it while it was downloading the deb files.  I bet it was
updating the cache for the kernel source package when I killed it!

Thank you, thank you, thank you.  Now what else is there around here I
can break?  <|:-b

Reply via email to