1 |
On 14/01/2020 17:05, Paul B. Henson wrote: |
2 |
> I recently installed a new server, and noticed that it is using |
3 |
> /var/cache/distfiles rather than /usr/portage/distfiles. looking at the |
4 |
> documentation, it seems that is the new default, and it says "new |
5 |
> installations" will use it. I have older servers which are still using |
6 |
> /usr/portage/distfiles. None of them have DISTDIR configured, so I am |
7 |
> curious how portage is deciding between "old" and new"? If I wanted to |
8 |
> migrate my older boxes to the new location without explicitly setting |
9 |
> DISTDIR on them, what do I need to change? |
10 |
> |
11 |
> Thanks… |
12 |
> |
13 |
I attempted to do this migration on two machines but was only successful |
14 |
once. Pretty sure this is because of not using 17.1 profile on the |
15 |
failing machine. |
16 |
|
17 |
The first machine is on a 17.1 profile, and migration was relatively |
18 |
simple, and worked. I did it based on this post: |
19 |
|
20 |
https://forums.gentoo.org/viewtopic-p-8373904.html?sid=5c30f451df89c01a6bbe0a8dadd77c36#8373904 |
21 |
|
22 |
On the second machine, I did not change to profile 17.1. After moving |
23 |
the files around, no matter what I tried, Portage refused to check the |
24 |
new DISTDIR. I haven't had time to switch this machine to 17.1 yet. |
25 |
|
26 |
Andrew |