Re: Removing old versions

Rex Dieter <[email protected]> Thu, 13 Jan 2005 08:35:49 -0600
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
Andre Costa wrote:

> I use apt regularly to update our machines, and older versions are
> accumulating on /var/cache/apt/archives:
...
> Is there any way of dealing with it (i.e. removing all but latest
> version) directly with apt or will I have to try some shell scripts to
> handle this?

$ apt-get autoclean

and,
$ apt-get clean
removes all stuff from /var/.../archives

-- Rex