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

Re: running "apt-get update" locally



On Thu, 26 Nov 2009 16:34:08 +0000
Avi Greenbury <avismailinglistaccount@googlemail.com> wrote:

> Albretch Mueller wrote:
> 
> > On Thu, Nov 26, 2009 at 3:24 PM, Jochen Schulz <ml@well-adjusted.de>
> > wrote:
> > > From what I guess, you actually just want to:
> > 
> > > # apt-get update
> > > # apt-get -d upgrade
> > 
> > > This stores all upgradeable package files
> > > in /var/cache/apt/archives,
> > 
> >  what about the case in which you want to stash the downloaded files
> > somewhere else?
> > 
> 
> man apt implies that
> 
> apt-get -d -o Dir::Cache::Archives=/path/to/dir upgrade
> 
> would work.

The OP hasn't explained what he's really trying to do, but perhaps
using an apt caching proxy might also be useful.

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Reply to: