Il giorno Sun, 3 Feb 2008 00:42:06 -0800 (PST)
Ravi <ra.ravi.rav@gmail.com> ha scritto:
> Normally the packages downloaded by apt are copied to /var/cache/apt/
> archives/ . But I am low on disk space for root partition. How can I
> ask apt to download those files to another directory and use then from
> there for later use also.
zless /usr/share/doc/apt/examples/configure-index.gz
Put this in /etc/apt/apt.conf, or /etc/apt/apt.conf.d/00yourlocalfile
Dir "/"
{
Cache "var/cache/apt/" {
Archives "archives/";
srcpkgcache "srcpkgcache.bin";
pkgcache "pkgcache.bin";
};
};
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
Attachment:
signature.asc
Description: PGP signature