On Mon, 18 Jan 2016 12:38:13 +0100, Raffaele BELARDI wrote: > > I have gentoo system A (~x86) on a network that does not allow portage > > access to internet due to some authentication issue. System B (~amd64) > > is on another network with no such restrictions. > > > > To bypass the restrictions I made a copy of A on a removable media, > > chroot into it from B and 'emerge-webrsync; emerge --fetchonly' from > > there. Then attach the media to A and overwrite /usr/portage with the > > updated one from the removable media. > > > > This works but updating the chroot from B always re-downloads all the > > packages since the first time I created the chroot, not only those > > from the last update. I suppose portage maintains a database of the > > installed packages that I need to copy back to the removable media > > after each system A update, but where is it? > > I suppose the database I'm looking for is /var/db/pkg, right?
/var/lib/portage/world - this needs to be in sync in the two environments. Are the two computers networked together? If so, you could run http_replicator on B and it would download the packages for A. -- Neil Bothwick OK Scotty, NOW! Detonate and energize! I mean.......
pgpCkiCF4mTHG.pgp
Description: OpenPGP digital signature