The following tip was published on a
german Linux website recently:
Code:
apt-get --print-uris -y dist-upgrade | grep "^'" | awk '{ print $1 }' | sed "s/'//g" > get.lst
should print the packages in the file get.lst. Then you can wget the packages:
If you run wget in the dir "/var/cache/apt/archives/", they should be accessible after another
If you have a friend with a good connection, you get let him wget the packages in a new dir, for example "~/packages", then run:
Code:
dpkg-scanpackages ~/packages /dev/null > ~/packages/Packages
and let him burm the content of the directory onto a CD. You can add the CD with
Code:
apt-cdrom add -d /<mountpoint of the CDROM>
to your package repository, update && dist-upgrade.
Note I didn't test it.
Edit: Opps, this is supposed to hold for
Debian, dunno about other implementations.