Mick wrote: > On Monday, 11 November 2019 13:00:20 GMT Dale wrote: >> Mickaël Bucas wrote: >>> Le lun. 11 nov. 2019 à 09:35, Mick <[email protected]> a écrit : >>>> On Monday, 11 November 2019 08:25:06 GMT n952162 wrote: >>>>> I re-installed gentoo from the minimal boot cd (amd64), re-emerged >>>>> everything from my old, saved world file, overnight, and its up and >>>>> running, more or less. Then, I wanted to see what was available and >>>>> discovered, there's no /usr/portage directory! What did I do wrong? >>>> Nothing. >>>> >>>> /usr/portage has now moved to /var/db/repos/gentoo/. >>>> >>>> /usr/portage/distfiles has moved to /var/cache/distfiles/ >>>> >>>> Portage will work fine with both legacy and new fs locations. >>>> -- >>>> Regards, >>>> >>>> Mick >>> My two systems are currently using the old locations. >>> Is there a documentation about the way to migrate to the new locations >>> without breaking things ? >>> The profile links comes to mind but other things are probably necessary ! >>> >>> Has anyone already done the migration ? >>> In this case do you have advices or warnings about it ? >>> >>> Thanks >>> >>> Best regards >>> Mickaël Bucas >> Others have posted some good info but sometimes a example that is in use >> can help a lot. Here's what is in my make.conf: >> >> >> root@fireball / # cat /etc/make.conf | grep var >> PORT_LOGDIR=/var/log/portage/ >> source /var/lib/layman/make.conf >> DISTDIR="/var/cache/portage/distfiles/" >> PKGDIR="/var/cache/portage/packages" >> PORTDIR="/var/cache/portage/tree" >> root@fireball / # >> >> >> The last three are what you need to look at. > ... AND ... > > the last thing (PORTDIR) is what you should no longer have specified in /etc/ > portage/make.conf, but in /etc/portage/repos.conf/gentoo.conf: > > $ grep location /etc/portage/repos.conf/gentoo.conf > #location = /usr/portage <==legacy portage fs location > location = /var/db/repos/gentoo > > HTH.
Ahhhh, that one line is in there so I guess it got moved at some point, likely the devs had some magic going on and did it for me. ;-) I'll comment that out in make.conf, so I don't confuse myself later on. :/ Come to think of it, I'll add a comment as to where it moved to as well so I don't have to go dig for it some day. Thanks. This will help the OP as well. Dale :-) :-)

