J. Roeleveld wrote:
> 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.

Thanks, but it must be something different - or I was not clear 
describing the problem.

On system B, where there is no network restriction, I have always 
cleared distfiles/ contents after each update without problem. Portage 
downloads only the packages needed for the most recent update, not also 
the ones already used for the previous updates. I'm sure it keeps a 
database of the installed packages somewhere, it does not rely only on 
distfile/ contents.

raffaele

Reply via email to