Re: /var/cache/apt/archives
Quoting David Wright (ichbin@shadlen.org):
> I'm relatively new to Debian, and I just discovered that I have
> accumulated over 1G of .deb's in /var/cache/apt/archives. Can the
> contents of this directory be regularly wiped? Why isn't their a cron
> job to do this by default -- does one loose something?
You can best run apt-get autoclean, it removes all .deb files that are
no longer on your system, or whose version is older than the one
currently installed.
Also you can edit/create a file in /etc/apt/apt.conf.d/ called 99local
which holds the following:
DSelect { Clean "auto" }
to do the cleaning automaticaly after each time you use apt.
Regards,
Sander.
--
| "I'm going to destroy you ... but first, I have to scratch my leg ...
| HEY!!! YOU GAVE ME THE WRONG SCRIPT!!!!"
| -- Buttercup
Reply to: