> >>>...I think what I need to do is fetch a few packages on > >>>another system, burn them to a CD, and copy them from the CD to the > >>>appropriate places on the network-less system. For baselayout, would > >>>I want to get and put /usr/portage/sys-apps/baselayout/* ? > >>> > >>> > >>To copy over only /usr/portage/sys-apps/baselayout/ is inelegant - it > >>brings in only the ebuilds for baselayout, which might depend on other > >>packages in the tree. > >> > >>The best thing to do is grab a whole Portage snapshot on a network > >>connected machine - you'll find these at [UK mirror] > >><http://gentoo.blueyonder.co.uk/snapshots/>. > >> > >>When you've copied this across to the networkless machine & unpacked it > >>the right place you can then find out what packages to download by > >>typing `emerge -pf world`. This should give you a whole list of URLs > >>which you can wget from the networked machine. > >> > >> > > > >This doesn't seem to be working. I followed the instructions to > >emerge -fp about 10 different packages, but I get this output: > > > >http://distfiles.gentoo.org/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://ftp.oregonstate.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://ftp.tu-clausthal.de/pub/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://open-systems.ufl.edu/mirrors/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://lug.mtu.edu/gentoo/source/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://mirrors.tds.net/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://cudlug.cudenver.edu/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://gentoo.mirrored.ca/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://gentoo.oregonstate.edu/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://gentoo.mirrors.pair.com/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >http://ftp.gentoo.or.kr/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > >ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/distfiles/madwifi-driver-0.1_pre20041019.tar.bz2 > > > >http://distfiles.gentoo.org/distfiles/wpa_supplicant-0.2.7.tar.gz > >http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/wpa_supplicant-0.2.7.tar.gz > >http://hostap.epitest.fi/releases/wpa_supplicant-0.2.7.tar.gz > > > >Looking that over, only two different packages are mentioned and the > >madwifi-driver package is really out of date. > > > >- Grant > >-- > >gentoo-user@gentoo.org mailing list > > > > > When using -f (--fetchonly) and -p (--pretend) together emerge dumps all > possible download urls for each package it knows about. I think this is > documented somewhere. Have you synced the portage tree though? It would > not be wise to freshen up just one subdirectory on /usr/portage tree. > You need to get a recent snapshot and update manually. This link has a > little more on it: > http://gentoo-wiki.com/TIP_Downloading_distfiles_on_another_machine > > It would be something like: > wget http://gentoo.osuosl.org/snapshots/portage-(most recent date).tar.bz2 > # ... transfer to your target machine using cd or usb stick ... > # on target machine put it into /var/tmp > # then: > cd /var/tmp > tar fxj portage-(most recent date).tar.bz2 > cd portage > # ... run this: > /usr/lib/portage/bin/portageq portdir > # and check that it returns a sane value like /usr/portage and: > rsync -av --progress --stats --delete --delete-after > --exclude='/distfiles' --exclude='/packages' --exclude='/local' . > `/usr/lib/portage/bin/portageq portdir` > cd .. > rm -rf portage > rm -f portage-(most recent date).tar.bz2 > # ... and now you got a recent portage snapshot to work with ... > emerge -vuDfp world <-- to see what you get out of date > > i havent tested this but the code in the middle i got out of > emerge-webrsync so i guess it should work. > > Eugene.
Your suggestions worked great except I had to use '/usr/portage' instead of '/usr/lib/portage/bin/portageq portdir' with the rsync command. I ended up with what seemed like a nice links.txt file, but 'wget -i links.txt' from the networked machine returns all 403 and 404 errors. I thought this might have something to do with the fact that the floppy I used to transfer the links.txt file was vfat, so I formatted it ext2 with the same results. It's always something like this: Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected. HTTP request sent, awaiting response... 403 Forbidden 15:49:30 ERROR 403: Forbidden. - Grant -- gentoo-user@gentoo.org mailing list