On 29/01/2017 09:19, meino.cra...@gmx.de wrote: > Dale <rdalek1...@gmail.com> [17-01-29 07:56]: >> meino.cra...@gmx.de wrote: >>> Hi, >>> >>> To switch from rsync to git I am following the steps described here >>> https://www.reddit.com/r/Gentoo/comments/3i141w/now_that_portage_is_using_git_how_do_i_git_pull/ >>> >>> The last step I did was "mv /usr/portage /usr/portage.old ; emerge >>> sync" and I got: >>> >>> solfire:/usr>emerge --sync >>>>>> Syncing repository 'gentoo' into '/usr/portage'... >>> !!! sync-uri is invalid: https://github.com/gentoo-mirror/gentoo.git >>> >>> As fas as I know, this is the uri Joost uses... >>> >>> Hmmm....why does portage thinks, this uri is wrong? >>> (...and how can I fix it?) >>> >>> Cheers >>> Meino >>> >>> >> >> May want to look at this link. >> >> https://wiki.gentoo.org/index.php?title=/etc/portage/repos.conf/gentoo.conf&oldid=378294 >> >> >> Maybe that will give better results, not that I see anything wrong with >> what you have myself. BTW, I did a forum search, make sure you don't >> have other files in /etc/portage/repos.conf. It seems that if you have >> more than one, it takes the last one and runs with it. Someone else had >> gentoo.conf.bak and it was reading it instead of gentoo.conf. It sort >> of works like package.use and such. Make sense? I'm beat over here. lol >> >> Hope that helps. >> >> Dale >> >> :-) :-) >> > > Hi Dale, > > thanks for your very helpful reply! :) > > Not to have *.bak and such under.../repos.conf/... does the trick. > > Would be nice, if emerge would only read files *.conf instead of > everything...
I would file a bug/feature request for that. It's a very annoying thing to trip over and many many packages now read only X.d/*.conf for that very reason -- Alan McKinnon alan.mckin...@gmail.com