Generate Package Download Scripts with apt-getPosted: 04.05.12
You can print a list of all needed packages (including their respective URLS for download) by using the command
sudo apt-get -qq --print-uris install package_name
The apt-get manpage advises against using the -q or -qq flag with –print-uris; not sure why this is, but this process seems to work correctly.
This is only a list of URLS and md5sums; to turn that into an actual wget download script will just take a bit of scripting, which I’m currently working on.