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

Re: /var/lib/apt/lists/partial fills entire partition



Quoting Elimar Riesebieter (riesebie@lxtec.de):
> * Tony van der Hoff <tony@vanderhoff.org> [2015-09-01 14:17 +0200]:
> 
> > On this jessie box I have started to see /var/lib/apt/lists/partial
> > gradually filling the entire 2.7 GiB /var partition with hundreds of
> > smallish files. Google show some results for a similar, but not
> > identical problem for Ubuntu but I can't find anything matching this.
> > 
> > This problem has developed over the last few days.
> > 
> > A partial directory listing is attached (to circumvent wrapping).
> > 
> > Can anyone suggest a remedy to this problem, please?

I don't have any answer to this, only questions.

Presumably   ls -lt   tells you when these files were created. Is this
periodic, and is this because you have automated apt-get update?

If you run   apt-get update   manually, do you get errors? After doing
that, is there a new tranche of files? Or are there any fewer?
The .decomp. names suggest decompression has taken place and these are
the output files. Perhaps decompression is failing and setting a
return code preventing further treatment.

> Try
> 
> # apt-get clean
> 
> From apt-get(8):
> 
> clean clears out the local repository of retrieved package files. It
> removes everything but the lock file from /var/cache/apt/archives/ and
> /var/cache/apt/archives/partial/.
> 
> So after an apt-get update /var/lib/apt/lists/partial should be
> recharged at least to zero size.

Unfortunately,   apt-get clean   cleans the *cache*, not the lists.
But in any case, best not wipe away the symptoms without looking for
a cause first as there may be clues in the files' properties.

Cheers,
David.


Reply to: