[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#120311: apt-cache segfaults on malformed status-file



On Fri, 13 Sep 2002, Branden Robinson wrote:

> > Once you know what your particular error is then you can try to fix that. 
> > Since you say it runs OK as a normal user it sounds like something bad has
> > happened to your cache files in /var/cache/apt/*.bin and erasing them will
> > surely make it run again. 
> 
> Nothing bad had happened to them:

> E: Unable to write mmap - msync (28 No space left on device)

> What business does apt-cache have trying to rebuild the cache if I run it
> as root?  All I did was ask it to read something.

It is out of date and it needs to freshen it up. I think you can use the
--no-generate option to tell it you really just want to query the stale
data, but the results for some queries might not be so good.

Jason



Reply to: