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

Re: apt cache folder




On Thursday, Jul 8, 2004, at 16:27 US/Central, Steven Pritchard wrote:
> From apt.conf(5):
>
> DIRECTORIES
>        The  Dir::State  section  has  directories  that pertain to 
> local state
>        information. lists is the directory to place downloaded package 
>  lists
>        in  and status is the name of the dpkg status file.  
> preferences is the
>        name of the APT preferences  file.   Dir::State  contains  the 
> default
>        directory to prefix on all sub items if they do not start with 
> / or ./.
>
>        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.  
> Generation
>        of  caches  can  be turned off by setting their names to be 
> blank. This
>        will slow down startup but save disk space. It is probably 
> prefered  to
>        turn  off the pkgcache rather than the srcpkgcache. Like 
> Dir::State the
>        default directory is contained in Dir::Cache
>
> So you could run apt-get with "-o Dir::Cache=/home/apt" or something.

Wow!  How you went from what the man pages says to your example is 
truly amazing.  I read that man page at least 5 times before giving up, 
concluding it was pure technical gibberish.

There's nothing like a good example.  Thanks, Steve.

Regards,
- Robert


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.