Gentoo Archives: gentoo-user

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

Attachments

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

Replies

Subject Author
Re: [gentoo-user] /etc/portage/repos.conf/gentoo.conf is missing Alexander Kapshuk <alexander.kapshuk@×××××.com>
[gentoo-user] Re: /etc/portage/repos.conf/gentoo.conf is missing "»Q«" <boxcars@×××.net>