Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Emerge --sync source
Date: Thu, 28 Feb 2019 08:36:12
Message-Id: 2837719.MWtaJtHztM@peak
Hello list,

I have a little server box on my LAN, which I use as a git server. I'm having 
a bit of trouble with it pro tem so I decided to switch the git sync source on 
this box.

I removed the entry pointing to the local server in repos.conf/gentoo.conf and 
put in 'sync-uri = https://github.com/gentoo-mirror/gentoo.git'

Emerge --sync still insisted on going to the local server, which was not there 
so it stopped.

I had to remove /usr/portage/.git before the repos.conf/gentoo.conf entry was 
respected. And that meant stripping out the whole of /usr/portage and fetching 
the whole lot again.

Is this expected behaviour?

-- 
Regards,
Peter.

Replies

Subject Author
Re: [gentoo-user] Emerge --sync source Davyd McColl <davydm@×××××.com>