On 14/01/2020 17:05, Paul B. Henson wrote:
> I recently installed a new server, and noticed that it is using
> /var/cache/distfiles rather than /usr/portage/distfiles. looking at the
> documentation, it seems that is the new default, and it says "new
> installations" will use it. I have older servers which are still using
> /usr/portage/distfiles. None of them have DISTDIR configured, so I am
> curious how portage is deciding between "old" and new"? If I wanted to
> migrate my older boxes to the new location without explicitly setting
> DISTDIR on them, what do I need to change?
> 
> Thanks…
> 
I attempted to do this migration on two machines but was only successful
once. Pretty sure this is because of not using 17.1 profile on the
failing machine.

The first machine is on a 17.1 profile, and migration was relatively
simple, and worked. I did it based on this post:

https://forums.gentoo.org/viewtopic-p-8373904.html?sid=5c30f451df89c01a6bbe0a8dadd77c36#8373904

On the second machine, I did not change to profile 17.1. After moving
the files around, no matter what I tried, Portage refused to check the
new DISTDIR. I haven't had time to switch this machine to 17.1 yet.

Andrew

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to