Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] where is /usr/portage?
Date: Mon, 11 Nov 2019 13:06:40
Message-Id: 2227062.hNORr8M8ye@localhost
In Reply to: Re: [gentoo-user] where is /usr/portage? by Dale
1 On Monday, 11 November 2019 13:00:20 GMT Dale wrote:
2 > Mickaël Bucas wrote:
3 > > Le lun. 11 nov. 2019 à 09:35, Mick <michaelkintzios@×××××.com> a écrit :
4 > >> On Monday, 11 November 2019 08:25:06 GMT n952162 wrote:
5 > >>> I re-installed gentoo from the minimal boot cd (amd64), re-emerged
6 > >>> everything from my old, saved world file, overnight, and its up and
7 > >>> running, more or less. Then, I wanted to see what was available and
8 > >>> discovered, there's no /usr/portage directory! What did I do wrong?
9 > >>
10 > >> Nothing.
11 > >>
12 > >> /usr/portage has now moved to /var/db/repos/gentoo/.
13 > >>
14 > >> /usr/portage/distfiles has moved to /var/cache/distfiles/
15 > >>
16 > >> Portage will work fine with both legacy and new fs locations.
17 > >> --
18 > >> Regards,
19 > >>
20 > >> Mick
21 > >
22 > > My two systems are currently using the old locations.
23 > > Is there a documentation about the way to migrate to the new locations
24 > > without breaking things ?
25 > > The profile links comes to mind but other things are probably necessary !
26 > >
27 > > Has anyone already done the migration ?
28 > > In this case do you have advices or warnings about it ?
29 > >
30 > > Thanks
31 > >
32 > > Best regards
33 > > Mickaël Bucas
34 >
35 > Others have posted some good info but sometimes a example that is in use
36 > can help a lot. Here's what is in my make.conf:
37 >
38 >
39 > root@fireball / # cat /etc/make.conf | grep var
40 > PORT_LOGDIR=/var/log/portage/
41 > source /var/lib/layman/make.conf
42 > DISTDIR="/var/cache/portage/distfiles/"
43 > PKGDIR="/var/cache/portage/packages"
44 > PORTDIR="/var/cache/portage/tree"
45 > root@fireball / #
46 >
47 >
48 > The last three are what you need to look at.
49
50 ... AND ...
51
52 the last thing (PORTDIR) is what you should no longer have specified in /etc/
53 portage/make.conf, but in /etc/portage/repos.conf/gentoo.conf:
54
55 $ grep location /etc/portage/repos.conf/gentoo.conf
56 #location = /usr/portage <==legacy portage fs location
57 location = /var/db/repos/gentoo
58
59 HTH.
60 --
61 Regards,
62
63 Mick

Attachments

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

Replies

Subject Author
Re: [gentoo-user] where is /usr/portage? Dale <rdalek1967@×××××.com>