/var/cache/apt/archives not clean
Rui Tiago Matos
tiagomatos at gmail.com
Sun Feb 13 15:56:19 CST 2005
On Sun, 13 Feb 2005 22:23:30 +0200, jani <jani at email.ro> wrote:
> Rui Tiago Matos wrote:
> > On Sun, 13 Feb 2005 13:17:15 -0600, Jerry Haltom <wasabi at larvalstage.net> wrote:
> >>How about clean really old files from the cache. Like, only keep current
> >>packages and one previous version?
> > Yep, I like this one. Actually I have a little python script to do
> > just that: keep only the most current version of a given installed
> > package and delete all the previous and no longer installed ones.
> Is what you guys are talking about different from what apt-get clean or
> apt-get autoclean do?
Yes it is. apt-get clean removes every .deb from the cache and
autoclean removes those which are no longer retrievable (maybe because
you deleted the sources.list repository for them? i'm not really sure
What we are talking is keeping only some cached debs like the current
and maybe the -1 versions in order for the cache to not grow too large
but still keep some as an insurance against new buggy versions or
maybe to do an equal install on a non networked machine.
More information about the ubuntu-devel