On Sat, 27 Jul 2002, Angus Lees wrote: > > Anyone know of a tool which, given a list of packages and the appropriate > > apt metadata, will download all those packages and *all* their dependencies? > > I can get close with apt-get -d install <package list> and then getting them > > out of /var/cache/apt, but that doesn't get packages which are already > > installed and current on the host I run it on. > > the easy way would be to tweak your own apt.conf to use a different > "status" file: > > APT::Get::Download-Only "true"; > Dir::Cache::archives "/download/destination"; > Dir::State::status "/dev/null"; > > and then do "apt-get -c thatfile.conf install <package list>".
Hey, that is a *very* good idea. Snarfed and prepared for use. -- ----------------------------------------------------------------------- #include <disclaimer.h> Matthew Palmer, Geek In Residence http://ieee.uow.edu.au/~mjp16 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
