Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing
Date: Sat, 25 Apr 2015 13:07:48
Message-Id: CAJ1xhMWKSnKz2J1=q9KvwU9mQK63nUWaYGAX7SkyJDORkW=1_w@mail.gmail.com
In Reply to: Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing by Mick
1 On Sat, Apr 25, 2015 at 3:46 PM, Mick <michaelkintzios@×××××.com> wrote:
2
3 > On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
4 > > On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@×××××.com> wrote:
5 >
6 > > > I recall reading "New portage plug-in sync system" in eselect news, but
7 > > > it doesn't mention creating such files manually:
8 > > >
9 > > > "Migration:
10 > > > Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option
11 > > > to each repository definition."
12 > > >
13 > > > --
14 > > > Regards,
15 > > > Mick
16 > >
17 > > The setting referred to in the message above is the SYNC variable defined
18 > > in /etc/portage/make.conf.
19 > >
20 > > With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you
21 > > either want to comment out the line in /etc/portage/make.conf where SYNC
22 > is
23 > > defined, or get rid of it all together. For the time being, I chose the
24 > > former.
25 > >
26 > > grep uri /etc/portage/repos.conf/gentoo.conf
27 > > sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
28 > > % grep SYNC /etc/portage/make.conf
29 > > #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
30 >
31 > Thanks Alexander, I will be adding the sync-uri line in
32 > /etc/portage/repos.conf/gentoo.conf once I know for sure if I should be
33 > creating this file myself, or if portage ought to have created and for some
34 > reason hasn't.
35 >
36 > On another box of mine the file exists, but I can't recall if I created it
37 > myself or portage did it for me. :-/
38 >
39 > --
40 > Regards,
41 > Mick
42 >
43 The portage news item makes a reference to the wiki article on the subject
44 matter:
45 eselect news read 21 | grep wiki
46 Please see the wiki page url [1] for detailed instructions.
47 examples see the wiki page listed below [1].
48 [1] https://wiki.gentoo.org/wiki/Project:Portage/Sync
49
50 The 'Migration' section states that:
51 If /etc/portage/repos.conf does not exist:
52 root # mkdir /etc/portage/repos.conf
53 root # cp /usr/share/portage/config/repos.conf
54 /etc/portage/repos.conf/gentoo.conf
55
56 Which is what I did on one of my systems, while on the other,
57 '/etc/portage/repos.conf/gentoo.conf' seems to have come into being without
58 any interference on my part, so to speak.

Replies

Subject Author
Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing Mick <michaelkintzios@×××××.com>