Re: Removing old versions

Horst Graffy <[email protected]> Thu, 13 Jan 2005 18:02:21 +0100
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
Am Donnerstag, 13. Januar 2005 14:05 schrieb Andre Costa:
> Hi,
>
> 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?
try the attached rpm apt-smartclean.
usage: 
apt-smartclean -s (-s simulate)
apt-smartclean without paramters deletes the oldest versions.

in the script /usr/bin/apt-smartclean you have to change your path to the 
cache.
>
Toni

_______________________________________________
apt-rpm mailing list
[email protected]
http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm
apt-smartclean-1.0-0.oc2pus.2.src.rpm (application/x-rpm, 4.3 KB) - not displayed
apt-smartclean-1.0-0.oc2pus.2.noarch.rpm (application/x-rpm, 3.4 KB) - not displayed