1 |
J. Roeleveld wrote: |
2 |
> On Monday, January 18, 2016 07:52:08 AM Raffaele BELARDI wrote: |
3 |
>> I have gentoo system A (~x86) on a network that does not allow portage |
4 |
>> access to internet due to some authentication issue. System B (~amd64) |
5 |
>> is on another network with no such restrictions. |
6 |
>> |
7 |
>> To bypass the restrictions I made a copy of A on a removable media, |
8 |
>> chroot into it from B and 'emerge-webrsync; emerge --fetchonly' from |
9 |
>> there. Then attach the media to A and overwrite /usr/portage with the |
10 |
>> updated one from the removable media. |
11 |
>> |
12 |
>> This works but updating the chroot from B always re-downloads all the |
13 |
>> packages since the first time I created the chroot, not only those from |
14 |
>> the last update. I suppose portage maintains a database of the installed |
15 |
>> packages that I need to copy back to the removable media after each |
16 |
>> system A update, but where is it? |
17 |
> |
18 |
> In the distfiles directory. |
19 |
> If you leave those, it will not download them again. |
20 |
> |
21 |
> If those are removed all the time, you end up re-downloading them. |
22 |
|
23 |
Thanks, but it must be something different - or I was not clear |
24 |
describing the problem. |
25 |
|
26 |
On system B, where there is no network restriction, I have always |
27 |
cleared distfiles/ contents after each update without problem. Portage |
28 |
downloads only the packages needed for the most recent update, not also |
29 |
the ones already used for the previous updates. I'm sure it keeps a |
30 |
database of the installed packages somewhere, it does not rely only on |
31 |
distfile/ contents. |
32 |
|
33 |
raffaele |