Re: How to specify a different apt archive directory
- From: David Paleino <d.paleino@xxxxxxxxx>
- Date: Sun, 3 Feb 2008 10:45:41 +0100
Il giorno Sun, 3 Feb 2008 00:42:06 -0800 (PST)
Ravi <ra.ravi.rav@xxxxxxxxx> 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
- References:
- Prev by Date: How to specify a different apt archive directory
- Next by Date: Re: Why do I get /usr/lib64 on a 32bit machine?
- Previous by thread: How to specify a different apt archive directory
- Next by thread: Re: How to specify a different apt archive directory
- Index(es):
Relevant Pages
|