Created attachment 375818 [details] Output of emerge --info I want to set up portage to sync with my server instead of the community servers. For doing that I created the file slackeee.conf in /etc/portage/repos.conf with the necessary options, but portage syncs nonetheless with the community servers. I also get a warning about a wrong repository name.
Created attachment 375820 [details] Output of emerge --info
Sorry, I misnamed one of the attachments, the first one (123 bytes, text/plain) is the file slackeee.conf from my /etc/portage/repos.conf directory.
!!! Section 'slackeee' in repos.conf has name different from repository name 'gentoo' set inside repository You need to fix that error. The profile/repo_name file contains the name of the repository. It must match what the name is in the conf file. Also portage has a backup file with default settings that it will use in case of errors like the one above. Because your conf file was invalid, it used the backup default settings. Just change [slakee] to [gentoo] and it should work. Either that or you will have to keep changing the repo_name after every time you sync the main repository. Also, I presume you no longer have /etc/portage/repos.conf/gentoo.conf, just your slackee.conf file in there? You can have only one repo config defined at any one time.
I meant to say only one conf defined per repo at any one time. You can have multiple files in repos.conf.
main-repo attribute is deprecated. Its usage is slowly decreasing in Portage. Synchronization-related code should not use this atribute at all. In the future this attribute will become ignored by Portage.
Thanks, I have commented the main-repo option and changed the section name to gentoo and now it works.