On Mon, 31 May 2010 04:09:19 -0000
Cameron Hutchison <li...@xdna.net> wrote:

> Celejar <cele...@gmail.com> writes:
> >Cameron Hutchison <li...@xdna.net> wrote:
> 
> >> Is there some way to do an
> >> intelligent partial mirror of the archive of what is installed on other
> >> boxes, without too much overhead of managing a package list? (i.e. I dont
> >> want to have to manually update some package list on my lenny box when I
> >> install a new package on a sid box).
> 
> >You could use use the output of 'dpkg --get-selections' on the Sid
> >boxes, pruning it using grep or similar to keep only the lines ending
> >with 'install'.  
> 
> ok. that's easy.
> 
> >Combine the results from the various Sid boxes, 
> 
> so's that.
> 
> >and then have the gateway box get those packages.  
> 
> hmmm. How? Is there an existing tool that will do this? Doing it
> manually (in a script) would require too much work (essentially
> implementing apt-get -d dist-upgrade against a specified package index
> and package list).

How about using 'aptitude download', possibly feeding the package list
to aptitude with xargs?  The 'download' action downloads to the current
directory, so I suppose that you'd use a temp directory, and that would
have the side effect of getting a copy stored by the cacher.

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-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100531003508.36f3ddde.cele...@gmail.com

Reply via email to