Re: Automatic partial archive mirroring
Celejar <firstname.lastname@example.org> writes:
>Cameron Hutchison <email@example.com> 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
ok. that's easy.
>Combine the results from the various Sid boxes,
>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).