old contents of /var/cache/apt/apt-file/

NoOp glgxg at sbcglobal.net
Wed Jul 28 15:58:21 UTC 2010

On 07/28/2010 07:57 AM, Adam Funk wrote:
> I noticed  (while looking at the stuff in /var/cache/apt/archives/)
> that my /var/cache/apt/apt-file/ directory contains a lot of old files
> (feisty through karmic) as well as the current lucid ones.  I guess
> they never get purged!  Is there any reason not to delete them myself?

Normally '$ sudo apt-get clean' will clean the entire archive.
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/. When
APT is used as a dselect(1) method, clean is run automatically.
Those who do not use dselect will likely want to run apt-get clean
from time to time to free up disk space.

But I do that and find:
$ du -sh /var/cache/apt/apt-file/
39M	/var/cache/apt/apt-file/
That's 39M of hardy & jaunty files. Stuff like:
14M 2008-09-19 21:19
I guess it's time to get out the 'rm' tool :-)

More information about the ubuntu-users mailing list