On Sat, Apr 25, 2015 at 1:19 PM, Mick <[email protected]> wrote:
> On Saturday 25 Apr 2015 11:00:18 Dale wrote: > > Mick wrote: > > > Are we meant to create the above file manually? > > > > > > This box is running sys-apps/portage-2.2.18 but I was surprised to see > > > > that it > > > > > doesn't have a gentoo.conf file. > > > > I use the latest, excluding 9999 version, of portage and I have it > > here. I didn't create it so I assume it was installed during a > > upgrade. This is the contents of the file if you need it. > > > > > > [DEFAULT] > > main-repo = gentoo > > > > [gentoo] > > location = /var/cache/portage/tree > > sync-type = rsync > > sync-uri = rsync://rsync.us.gentoo.org/gentoo-portage > > > > > > Hope that helps. > > > > Dale > > > > :-) :-) > > Thanks Dale, I just upgraded two boxen to sys-apps/portage-2.2.18 and both > are > complaining thus: > ==================================== > !!! SYNC setting found in make.conf. > This setting is Deprecated and no longer used. Please ensure your > 'sync- > type' and 'sync-uri' are set correctly in > /etc/portage/repos.conf/gentoo.conf > ==================================== > > I recall reading "New portage plug-in sync system" in eselect news, but it > doesn't mention creating such files manually: > > "Migration: > Edit /etc/portage/repos.conf/*.conf files, add the auto-sync option > to each repository definition." > > -- > Regards, > Mick > The setting referred to in the message above is the SYNC variable defined in /etc/portage/make.conf. With the sync url now defined in /etc/portage/repos.conf/gentoo.conf, you either want to comment out the line in /etc/portage/make.conf where SYNC is defined, or get rid of it all together. For the time being, I chose the former. grep uri /etc/portage/repos.conf/gentoo.conf sync-uri = rsync://rsync.uk.gentoo.org/gentoo-portage % grep SYNC /etc/portage/make.conf #SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"

