On Monday, January 18, 2016 07:52:08 AM 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?
In the distfiles directory. If you leave those, it will not download them again. If those are removed all the time, you end up re-downloading them. -- Joost

