If you do 'apt-get autoclean', this "removes package files that can no longer be downloaded, and are largely useless."
-mk On Thu, 2002-01-10 at 08:59, c wrote: > just to point out again automatic removal of old .deb's can lead to more > hassle if you need to roll back to the previous version.....test....then > clean..... > ;) > > ----- Original Message ----- > From: "Sander Smeenk" <[EMAIL PROTECTED]> > To: "David Wright" <[EMAIL PROTECTED]> > Cc: <debian-user@lists.debian.org> > Sent: Thursday, January 10, 2002 1:50 PM > Subject: Re: /var/cache/apt/archives > > > > Quoting David Wright ([EMAIL PROTECTED]): > > > > > 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 > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >