[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Use different cache dir for apt-get dist-upgrade



Hello,

Am Mittwoch, den 14. März 2001 21:57:58 schrieb Ian Patrick Thomas:
> 	I am in the process of upgrading my distribution to 2.2 potato? or
> whatever is the latest stable.  I have already done an apt-get check and no 
> errors were found.  The problem is that I get an error
> 
> Sorry, you don't have enough free space in /var/cache/apt/archives/
> 
> 	I am only using 33% of my /var directory right now, does this file 
> need more than 30mb.  If so then is there a way to specify a different file
> to use?  Maybe in apt.conf? 

you can set a different archive on the commandline using:

apt-get -o dir::cache::archives=<wherever> ...

or put this into apt.conf. man apt.conf:

       Dir::Cache  contains  locations  pertaining to local cache
       information, such as the two  package  caches  srcpkgcache
       and  pkgcache  as well as the location to place downloaded
       archives,  Dir::Cache::archives.   Like   Dir::State   the
       default directory is contained in Dir::Cache

I have another partition (100MB) mounted at /var/cache, to prevent
wwwoffle and apt from flooding /var.

	MfG
	bmg

-- 
"Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!"          | berberic@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic

Attachment: pgp9yMm9KR_EH.pgp
Description: PGP signature


Reply to: