Gentoo Archives: gentoo-user

From: Andrew Udvare <audvare@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles
Date: Tue, 14 Jan 2020 23:34:15
In Reply to: [gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles by "Paul B. Henson"
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.
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:
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.
26 Andrew


File name MIME type
signature.asc application/pgp-signature


Subject Author
Re: [gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles "Paul B. Henson" <henson@×××.org>