Re: Preventing apt from storing too much locally
--- Andy Smith <andy@lug.org.uk> wrote:
> I can see a number of files in /var/cache/apt on each machine; is
> there a way to prevent as much as possible of this stuff from being
> cached?
man apt.conf
You're looking for:
Dir::Cache::archives
This contains references to pkgcache and srcpkgcache. You can turn
these off if you wish, in favour of using apt-proxy, or apt-cacher or
whatever.
But I'd be more inclined to run:
apt-get {auto,}clean
every so often.
-- Thomas Adam
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net
"<shrug> We'll just save up your sins, Thomas, and punish
you for all of them at once when you get better. The
experience will probably kill you. :)"
-- Benjamin A. Okopnik (Linux Gazette Technical Editor)
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
Reply to: