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

Automatic removing of unneeded .deb files?



Hi,

I am trying to keep some order in my /var/cache/apt/archives/ and while
doing that I have not found a way how *automatically* clean this directory
of all unneeded .deb files. I mean, I have tested many packages which I
have later found unnecessary. I know that these will eventually be
autocleaned by aptitude (because they won't get refreshed while upgrading
and they will eventually get obsolete), but I would love to have some more
instant solution. Did anybody create a script which would erase
from /v/c/a/a/ all .deb files which are not currently installed?

Yes, I know I can do this with little scripting of 'aptitude search', but
call me lazy I would love to have already done solution.

Thanks a lot for any response,

Matej
-- 
Matej Cepl, http://www.ceplovi.cz/matej/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
This message has been composed of recycled electrons. None of
these electrons has been harmed or injured in the creation and
transmission of this message but they have been shamelessly
exploited for this use.




Reply to: