/var/cache/apt/archives not clean
Vincenzo Ampolo
vincenzo.ampolo at gmail.com
Sun Feb 13 16:23:02 CST 2005
On Sun, 2005-02-13 at 13:50 -0800, ubuntu-devel-request at lists.ubuntu.com
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?
Yep! we are talking about that and about users that know anything about
apt-get functions.
The problem is both apt-get clean OR apt-get autoclean are not used by
default...
There is a issue:
Looking at synaptic under settings::preferencies::files there is a menù
to set: Only delete packages which are no longer available.
This is the stuff that apt-get autoclean do : in fact as i know (it is
can be not true) it does not delete all the files after an upgrade but
the oldest packages (if there are versions 1, 2, 3 of a package and the
3° version is the new version istalled only version 1 is deleted)
So.. why not make this option as default?
More information about the ubuntu-devel
mailing list