David Wright a écrit : > Quoting David Baron (d_ba...@012.net.il): > > Pascal, I believe, said: >>> You can bind|link|whatever /var/cache/apt/archive to a filesystem with >>> enough free space. >> Running it this way right now, seems OK. Question: Is this directory needed >> at >> boot, i.e., before home is mounted (why I did not try this first off)?? >> >> If it does, can put it back when done. If OK, leave it this way. > >>From man apt-cache: > > -p, --pkg-cache > Select the file to store the package cache. The package > cache is the primary cache used by all operations. > Configuration Item: Dir::Cache::pkgcache. > > This appears to be the Right Way.
I doubt it, since apt-cache is not involved in downloading .deb files, so it's probably not the same cache. According to man apt-get, the correct configuration item would rather be Dir::Cache::Archives.