Mike Dornberger wrote: > 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 > 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) > PS: I've only tested Method a).
Here is b). Dir::Cache "/var/someotherdir/cache"; mkdir -p /var/someotherdir/cache/archives/partial You must have the directories all of the way down to 'partial'. Bob