[ubuntu-uk] Jaunty apt segfault

Neil Greenwood neil.greenwood.lug at gmail.com
Tue Oct 6 11:08:18 BST 2009


2009/10/6 mac <ammonius.grammaticus at gmx.co.uk>:
> Tried to install an application this morning, and kept getting segfault.
>  Same issue whether I used apt/aptitude or synaptic.  A look at the
> logs showed entries (first starting yesterday) of the form
>
> Oct  6 09:09:27 mac-desktop kernel: [11269.364059] apt-get[11426]:
> segfault at b8e8401c ip b7f6b70c sp bfb261e0 error 4 in
> libapt-pkg-libc6.9-6.so.4.7.0[b7f35000+bf000]
>
> (different entries have slight variations in the hex references, apart
> from the ones in square brackets after the filename, which are always
> the same.)
>
> The system has been restarted in the normal way a couple of times since
> yesterday.  There have been routine updates yesterday and today.
>
> I'm out of my depth here, so I'd be grateful for any advice!
>
> TIA
>
> mac

The following was posted to me when I started having this problem. I
didn't have to use it, but it might help you...

2009/8/2 Jonathon Fernyhough <j.fernyhough at gmail.com>:
> Likelihood is the apt cache is corrupt.
>
> $ sudo rm /var/cache/apt/pkgcache.bin
>
> should do it, unless you have deb-src enabled in which case you'll also need:
>
> $ sudo rm /var/cache/apt/srcpkgcache.bin
>
> HTH


Cofion,
Neil.



More information about the ubuntu-uk mailing list