Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537114

Summary: instructions for disabling emerge --sync don't work
Product: [OLD] Docs on www.gentoo.org Reporter: naduss <kolsjdldddd>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED WORKSFORME    
Severity: normal CC: maffblaster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://wiki.gentoo.org/wiki/Handbook:X86/Working/Features#Pulling_validated_portage_tree_snapshots
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of Portage when using GPG and no sync-uri.

Description naduss 2015-01-20 10:46:41 UTC
Following the instruction on http://wiki.gentoo.org/wiki/Handbook:X86/Working/Features#Pulling_validated_portage_tree_snapshots to stop emerge --sync from working.
I didn't have a /etc/portage/repos.conf file or dir. Creating a new one just with the two commented out lines as per the handbook naturally didn't do anything. Next I tried creating a proper new config, didn't work either:

$ cat  /etc/portage/repos.conf/gentoo.conf

main-repo = gentoo

[gentoo]
location = /usr/portage
SYNC=""

Instead I had to edit  /usr/share/portage/config/repos.conf:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
#sync-type = rsync
#sync-uri = rsync://rsync.gentoo.org/gentoo-portage


Reproducible: Always
Comment 1 naduss 2015-01-20 10:48:56 UTC
Correction, something got lost there, this is what I had:
cat  /etc/portage/repos.conf/gentoo.conf
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
SYNC=""
Comment 2 Matthew Marchese Gentoo Infrastructure gentoo-dev 2015-12-09 08:13:33 UTC
Five months after this bug was created @Dolson made a contribution to the Handbook:Parts/Installation/Media section of the Handbook that most likely resolves this issue. The specific revision that added the additional information can be seen here:

https://wiki.gentoo.org/index.php?diff=309272&oldid=279742

I will attempt to reproduce this issue following the instructions made by the revision above in attempt to reproduce the issue. If I don't experience any problems I'll mark as Fixed/resolved.
Comment 3 Matthew Marchese Gentoo Infrastructure gentoo-dev 2015-12-09 09:23:46 UTC
Created attachment 418828 [details]
Output of Portage when using GPG and no sync-uri.

Portage's warning output and successful sync.