apt-get segfault (with solution)

apt-get segmentation faultsts... 0%

I came across this annoyance the other day, which might have happened at about the same time as the server crashed.

I only noticed the problem a few days later when I thought it would be a good idea to install $something_new...

Solution

cd /var/cache/apt
rm pkgcache.bin srcpkgcache.bin

Running strace on it didn't seem to help; at least it seems I'm not the only one to have suffered this problem

Technorati Tags:

Comments

thank you thank you thank you

ive just done a fresh install of etch, ive been running into this again and again, and i even did a re-install, then i hit it again, i had never seen a segfault in apt-get, this fixed it, im so relieved.

This helped me as well,

This helped me as well, thanks!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
We don't take kindly to automated nonsensible adverts around here.