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

Re: Purging /var/cache/apt/archive



On 22 Mar 2002, Daniel Toffetti wrote:

> I would like to purge /var/cache/apt/archive so that only the last 
> version of each package is preserved.

You might want to check out aptsamever [1]. Or, if you don't like
Python :-), I have a Perl script [2] that deletes every file from the
cache that has already been installed. It can be easily modified to
preserve the last versions of the packages.

[1] http://aptsamever.sourceforge.net/
[2] http://drewie.host.sk/aptclean.pl

-- 
BALI, Andra's                                  GPG keyID: 78560E1C
drewie@bigfoot.com     bali@debian.org     andras.bali@stud.bke.hu


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: