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
[EMAIL PROTECTED]     [EMAIL PROTECTED]     [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to