From: Albretch Mueller on
~
How do you make "apt-get update" save all files downloaded for an
update in a certain directory and then what changes do you make in
your source.list in order to get those files from your local
directory?
~
lbrtchx


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Jochen Schulz on
Albretch Mueller:
> ~
> How do you make "apt-get update" save all files downloaded for an
> update in a certain directory

You don't. The 'update' operation is not designed to do that.

> and then what changes do you make in
> your source.list in order to get those files from your local
> directory?

None.

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,
where apt will find them automatically if you later plan to install
them.

J.
--
My drug of choice is self-pity.
[Agree] [Disagree]
<http://www.slowlydownward.com/NODATA/data_enter2.html>
From: Albretch Mueller on
On Thu, Nov 26, 2009 at 3:24 PM, Jochen Schulz <ml(a)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?

how can you do that?

lbrtchx


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Avi Greenbury on
Albretch Mueller wrote:

> On Thu, Nov 26, 2009 at 3:24 PM, Jochen Schulz <ml(a)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.


--
Avi Greenbury
http://aviswebsite.co.uk ;)
http://aviswebsite.co.uk/asking-questions


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Celejar on
On Thu, 26 Nov 2009 16:34:08 +0000
Avi Greenbury <avismailinglistaccount(a)googlemail.com> wrote:

> Albretch Mueller wrote:
>
> > On Thu, Nov 26, 2009 at 3:24 PM, Jochen Schulz <ml(a)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


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org