On Fri, Jul 26, 2002 at 12:45:12PM +1000, Matthew Palmer 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. > > I'm guessing that there's got to be something which can do this sort of > thing, probably as part of the CD builders or similar. I'm not familiar > with anything in that area, though. Is anyone out there educated in such > matters?
Hi, how about apt-zip? not that I've tried it, but if you're trying to upgrade a non-networked machine it might be worth a shot: conrad@screech:~% apt-cache show apt-zip Package: apt-zip Priority: extra Section: admin Installed-Size: 104 Maintainer: Giacomo Catenazzi <[EMAIL PROTECTED]> Architecture: all Version: 0.13.2 Depends: apt (>= 0.3.10) Filename: pool/main/a/apt-zip/apt-zip_0.13.2_all.deb Size: 14752 MD5sum: 78b979ac3ea325e1a2d4b154f14f5eb4 Description: Update a non-networked computer using apt and removable media These scripts simplify the process of using dselect and apt on a non-networked Debian box, using removable media like ZIP floppies. One generates a `fetch' script (supporting backends such as wget and lftp, in a modular, extensible way) to be run on a host with better connectivity, check space constraints of your removable media, and then install the package on your Debian box. . Note on current version: space-checking is not done and spanning multiple disks is not yet supported. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
