Re: How do I change the apt-get cache directory?
Hi,
On Sun, Oct 05, 2003 at 02:25:17AM +0200, Neill Roelofse wrote:
> I wondered, if I were to dump all cached archives on a different
> partition, how do I point apt-get to that partition rather than the
> default /var/cached/apt/archives
a) - move the apt dir to /another/location
- in /var/cahe: ln -s /another/location/apt apt
b) - read apt.conf(5) (Dir::Cache...)
- see /usr/share/doc/apt/examples/configure-index.gz
- (/etc/apt/apt.conf may be replaced with apt.conf.d/ drop a file there)
Regards,
Mike Dornberger
PS: I've only tested Method a).
Reply to: