Re: Bug#81829: How to avoid the segfault in apt-get?
On Thu, 15 Feb 2001, Jason Gunthorpe wrote:
> Their are only 2 known cases where this happens:
> 1) Your libc/libstdc++ is screwed
> 2) Your system has corrupted the data in /var/cache/apt/*.bin
>
> In #1 you have to fix it, in #2 it usually fixes itself next 'update', but
> if that is not the case 'rm /var/cache/apt/*.bin' always fixes it.
It seems #2 was the case but the next 'update' didn't fix it. I did a
'rm /var/cache/apt/archives/*' that fixed the problem for me (I didn't
try a 'rm /var/cache/apt/*.bin').
> Nobody has been able to show that these are actual APT bugs, the reason I
> have not closed the reports is because I would like it to handle #2 more
> elegantly and make a better error message.
That would be good because I can't remember doing anything wrong before
and it took me some time to find the right solution. An advisory which
files to delete would have saved me some time (and a segmentation fault is
a bad error handling of a program so I would call it a bug).
> Jason
cu,
Adrian
--
Nicht weil die Dinge schwierig sind wagen wir sie nicht,
sondern weil wir sie nicht wagen sind sie schwierig.
Reply to: