apt-get … Segmentation Faulty Tree
时间:2007-04-25 来源:rainballdh
apt-get … Segmentation Faulty Tree
August 27th, 2006 in linux
I have tried to use both Synaptic and apt-get, Running apt-get install (anything) from the command line (as root) yeilds this result:
root@dean-laptop:/# apt-get install netselect
Reading package lists… Done
Segmentation faulty tree… 0%
I’ve done some GOOGLING and it seems this bug has been seen before,
but no intelligent handling has been added to apt. See bug Bug#84277
where Jason Gunthorpe writes:
> apt-get segfaults w/out (in my opinion) any reason:
This has always been traced back to file corruption in /var/cache/apt/*.bin
If you can erase those files and run the apt command and have it work then
that is definately the problem.
Nobody has ever been able to reproduce it, unless they have buggy hardware
:>
Jason
So I suspect corrupted data files. delete /var/cache/apt/*.bin followed by “apt-get update” to reset apt.Which indeed fixed this error condition.
but that’s very strange,My Laptop does not not have buggy hardware, apt-get has been working fine from the start.