If anyone is being bothered by this, removing the base-files entry from /var/lib/dpkg/status works around the segfault. I have no idea why this solves the problem, or what makes this entry special at all.
After I get sleepycat db stuff sorted out I will come back to this. tibbetts On Sun, Jan 20, 2002 at 12:09:46PM -0500, Richard Tibbetts wrote: > On Sun, Jan 20, 2002 at 12:01:56PM -0500, Sam Hartman wrote: > > I saw Richard Tibbetts trying to debug apt-get last night. Based on > > what he said it seemed like apt-get was failing to parse > > /var/lib/dpkg/status; finding a \n where it expected something else. > > It segfaulted going off the end of a string at a page boundary. Thus > > it's just really good luck we cought the segfault instead of it simply > > randomly failing. > > > > The package being parsed was base-files. > > I seem to have been outted. > > At any rate: Yes, I was working on the apt-get segfault. I don't have > much in the way of progress to report. It would help greatly if I > could get a look at the source which the apt-get I am using was built > from. If I can't get that, I am going to have to redo the work to port > apt.