Gentoo Archives: gentoo-user

From: "»Q«" <boxcars@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: /etc/portage/repos.conf/gentoo.conf is missing
Date: Sat, 25 Apr 2015 17:11:35
Message-Id: 20150425121106.111711e9@sepulchrave.remarqs
In Reply to: Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing by Mick
1 On Sat, 25 Apr 2015 16:49:37 +0100
2 Mick <michaelkintzios@×××××.com> wrote:
3
4 > On Saturday 25 Apr 2015 14:07:38 Alexander Kapshuk wrote:
5
6 > > [1] https://wiki.gentoo.org/wiki/Project:Portage/Sync
7 > >
8 > > The 'Migration' section states that:
9 > > If /etc/portage/repos.conf does not exist:
10 > > root # mkdir /etc/portage/repos.conf
11 > > root # cp /usr/share/portage/config/repos.conf
12 > > /etc/portage/repos.conf/gentoo.conf
13 > >
14 > > Which is what I did on one of my systems, while on the other,
15 > > '/etc/portage/repos.conf/gentoo.conf' seems to have come into being
16 > > without any interference on my part, so to speak.
17 >
18 > Ahh! Well spotted. Thank you Alexander. The mystery as to why some
19 > systems were converted and others require manual intervention
20 > remains ...
21
22 I made the transition manually the other day. I guess I might as well
23 toss into this thread a couple of minor roadbumps I hit.
24
25 The filename gentoo doesn't matter to portage AFAICT, but it
26 does matter to other tools, e.g. mirrorselect, so use gentoo.conf.
27
28 <https://wiki.gentoo.org/wiki/Layman#Using_.27repos.conf.27_method_.28default_method_for_app-portage.2Flayman-2.1.0_or_later_.29>
29 says `layman-updater -R` will update repos.conf/layman.conf as long as
30 you have >=layman-2.1.0, but with layman-2.1.0-r3, I couldn't get it to
31 work. I moved to layman-2.3.0 and it created the file fine.