I've got a strange aptitude error while performing search:

$ sudo aptitude search pcre
Bus error
$ sudo aptitude search libpcre
Bus error
$ sudo aptitude autoclean 
Bus errorackage lists... 0%

What is wrong here? How do I fix this?

aptitude update does not work either - it ends up with the same bus error

UPDATE: Accordingly to http://stackoverflow.com/questions/212466/what-is-a-bus-error the error refers to segfault, but still, how do I fix it?

link|improve this question

67% accept rate
does any other sudo command works? – Lie Ryan Jan 17 at 4:30
yep. sudo su - is ok, sudo cp too – Nemoden Jan 17 at 4:34
feedback

1 Answer

up vote 1 down vote accepted

Try this suggestion by Michael Vogt on Launchpad:

Could you please try to remove /var/cache/apt/*.bin ? And see if that helps?

link|improve this answer
Thank you. This is the solution. – Nemoden Jan 17 at 4:38
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.