On Sat, 7 Dec 2002, Daniel van Eeden wrote: > By looking at bug #97924 it seems to be a corupted db. Commenting out > some lines rebuilds the db. Uncommenting it doesn't recreate the > segfault problem. Maybe someone should try to do a:
AFAIK they are all corrupted DB problems. I know that some kernel versions with some filesystems have been known to corrupt mmap'd files like APT uses. Other cases are not so clear, but so far nobody has found any pattern to how the database gets trashed on more regular systems. Things like 'rebooted and segfaults are gone' suggest that the page cache has somehow become unhappy, since the on disk data is correct. rm /var/cache/apt/*.bin always corrects the problem in this instance, and generally corrects it permanently. Jason

