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 16:28:02
Message-Id: CAJ1xhMXTB+9G_pwqwUaXYD+a_HpYxdiSDRbr=0QTqX2C_fS6Ww@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 6:49 PM, Mick <michaelkintzios@×××××.com> wrote:
2
3 > On Saturday 25 Apr 2015 14:07:38 Alexander Kapshuk wrote:
4 > > On Sat, Apr 25, 2015 at 3:46 PM, Mick <michaelkintzios@×××××.com> wrote:
5 > > > On Saturday 25 Apr 2015 12:58:39 Alexander Kapshuk wrote:
6 > > > > On Sat, Apr 25, 2015 at 1:19 PM, Mick <michaelkintzios@×××××.com>
7 > wrote:
8 > > > > > I recall reading "New portage plug-in sync system" in eselect news,
9 > > > > > but it doesn't mention creating such files manually:
10 > > > > >
11 > > > > > "Migration:
12 > > > > > Edit /etc/portage/repos.conf/*.conf files, add the auto-sync
13 > > > > > option to each repository definition."
14 > > > > >
15 > > > > > --
16 > > > > > Regards,
17 > > > > > Mick
18 > > > >
19 > > > > The setting referred to in the message above is the SYNC variable
20 > > > > defined in /etc/portage/make.conf.
21 > > > >
22 > > > > With the sync url now defined in /etc/portage/repos.conf/gentoo.conf,
23 > > > > you either want to comment out the line in /etc/portage/make.conf
24 > > > > where SYNC
25 > > >
26 > > > is
27 > > >
28 > > > > defined, or get rid of it all together. For the time being, I chose
29 > the
30 > > > > former.
31 > > > >
32 > > > > grep uri /etc/portage/repos.conf/gentoo.conf
33 > > > > sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage
34 > > > > % grep SYNC /etc/portage/make.conf
35 > > > > #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
36 > > >
37 > > > Thanks Alexander, I will be adding the sync-uri line in
38 > > > /etc/portage/repos.conf/gentoo.conf once I know for sure if I should be
39 > > > creating this file myself, or if portage ought to have created and for
40 > > > some reason hasn't.
41 > > >
42 > > > On another box of mine the file exists, but I can't recall if I created
43 > > > it myself or portage did it for me. :-/
44 > > >
45 > > > --
46 > > > Regards,
47 > > > Mick
48 > >
49 > > The portage news item makes a reference to the wiki article on the
50 > subject
51 > > matter:
52 > > eselect news read 21 | grep wiki
53 > > Please see the wiki page url [1] for detailed instructions.
54 > > examples see the wiki page listed below [1].
55 > > [1] https://wiki.gentoo.org/wiki/Project:Portage/Sync
56 > >
57 > > The 'Migration' section states that:
58 > > If /etc/portage/repos.conf does not exist:
59 > > root # mkdir /etc/portage/repos.conf
60 > > root # cp /usr/share/portage/config/repos.conf
61 > > /etc/portage/repos.conf/gentoo.conf
62 > >
63 > > Which is what I did on one of my systems, while on the other,
64 > > '/etc/portage/repos.conf/gentoo.conf' seems to have come into being
65 > without
66 > > any interference on my part, so to speak.
67 >
68 > Ahh! Well spotted. Thank you Alexander. The mystery as to why some
69 > systems
70 > were converted and others require manual intervention remains ...
71 >
72 > --
73 > Regards,
74 > Mick
75 >
76
77 No worries. There is bound to be some one on this list who will shed light
78 on this mystery.