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? thanks, raffaele

