Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] From rsync to git: sync-uri is invalid: https://github.com/gentoo-mirror/gentoo.git
Date: Sun, 29 Jan 2017 08:32:38
Message-Id: c86c3450-2fed-6516-4beb-0f9698c7cc7b@gmail.com
In Reply to: Re: [gentoo-user] From rsync to git: sync-uri is invalid: https://github.com/gentoo-mirror/gentoo.git by Meino.Cramer@gmx.de
1 On 29/01/2017 09:19, Meino.Cramer@×××.de wrote:
2 > Dale <rdalek1967@×××××.com> [17-01-29 07:56]:
3 >> Meino.Cramer@×××.de wrote:
4 >>> Hi,
5 >>>
6 >>> To switch from rsync to git I am following the steps described here
7 >>> https://www.reddit.com/r/Gentoo/comments/3i141w/now_that_portage_is_using_git_how_do_i_git_pull/
8 >>>
9 >>> The last step I did was "mv /usr/portage /usr/portage.old ; emerge
10 >>> sync" and I got:
11 >>>
12 >>> solfire:/usr>emerge --sync
13 >>>>>> Syncing repository 'gentoo' into '/usr/portage'...
14 >>> !!! sync-uri is invalid: https://github.com/gentoo-mirror/gentoo.git
15 >>>
16 >>> As fas as I know, this is the uri Joost uses...
17 >>>
18 >>> Hmmm....why does portage thinks, this uri is wrong?
19 >>> (...and how can I fix it?)
20 >>>
21 >>> Cheers
22 >>> Meino
23 >>>
24 >>>
25 >>
26 >> May want to look at this link.
27 >>
28 >> https://wiki.gentoo.org/index.php?title=/etc/portage/repos.conf/gentoo.conf&oldid=378294
29 >>
30 >>
31 >> Maybe that will give better results, not that I see anything wrong with
32 >> what you have myself. BTW, I did a forum search, make sure you don't
33 >> have other files in /etc/portage/repos.conf. It seems that if you have
34 >> more than one, it takes the last one and runs with it. Someone else had
35 >> gentoo.conf.bak and it was reading it instead of gentoo.conf. It sort
36 >> of works like package.use and such. Make sense? I'm beat over here. lol
37 >>
38 >> Hope that helps.
39 >>
40 >> Dale
41 >>
42 >> :-) :-)
43 >>
44 >
45 > Hi Dale,
46 >
47 > thanks for your very helpful reply! :)
48 >
49 > Not to have *.bak and such under.../repos.conf/... does the trick.
50 >
51 > Would be nice, if emerge would only read files *.conf instead of
52 > everything...
53
54 I would file a bug/feature request for that. It's a very annoying thing
55 to trip over and many many packages now read only X.d/*.conf for that
56 very reason
57
58 --
59 Alan McKinnon
60 alan.mckinnon@×××××.com

Replies