Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

(solved) emerge --sync is asking for a github username

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

(solved) emerge --sync is asking for a github username

  • Quote

Post by <3 » Fri Nov 07, 2025 5:02 am

I am not sure if this is related to the eselect news item posted on 2025-11-01 but whenever I run:

Code: Select all

emerge --sync
I am now asked to enter in a username for https://github.com.

I am not sure why I now need to enter in a github username, or how to address this issue.
Last edited by <3 on Wed Nov 12, 2025 1:42 am, edited 1 time in total.
Top
FilthyPitDog
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jan 12, 2021 8:47 am
Location: South Pacific
Contact:
Contact FilthyPitDog
Website

  • Quote

Post by FilthyPitDog » Fri Nov 07, 2025 5:05 am

It was in the news https://www.gentoo.org/support/news-ite ... moval.html

You need to remove then enable the overlays affected with eselect repository

Cheers,
Filthy
Last edited by FilthyPitDog on Sat Nov 08, 2025 4:35 am, edited 1 time in total.
Gentoo is a way of life...
Top
penguinomicon
n00b
n00b
User avatar
Posts: 37
Joined: Sat May 25, 2024 1:07 am
Location: Australia

  • Quote

Post by penguinomicon » Fri Nov 07, 2025 6:53 am

I overlooked the news item as well. Or, if I saw it, I didn't realize it affected things like steam-overlay and then forgot about it.

Anyway, the GitHub username thing is due to it being a 404. If you navigate to your erstwhile repo in a browser you'll see it's gone, so of course you can no longer fetch from it.

I guess an interesting feature request could be teach portage about some kind of "repo sync hook" so emerge would start yelling at us when we're using a deprecated repo.
"For it was only a penguin - albeit of a huge, unknown species larger than the greatest of the known king penguins, and monstrous in its combined albinism and virtual eyelessness." — At the Mountains of Madness, H. P. Lovecraft
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

  • Quote

Post by <3 » Sat Nov 08, 2025 3:59 am

FilthyPitDog wrote:It was in the news https://www.gentoo.org/support/news-ite ... moval.html

You need to disable then enable the overlays affected with eselect repository

Cheers,
Filthy
I saw this news item and performed this as well, or so I thought.
Top
nov4p
n00b
n00b
Posts: 1
Joined: Sat Nov 08, 2025 8:55 am

  • Quote

Post by nov4p » Sat Nov 08, 2025 9:04 am

Hey, I've removed and enabled the repo (zugaina) which was previously using git, but with rsync it just fails.

A hint to use git in this thread: https://forums.gentoo.org/viewtopic-t-1174887.html made it work in the past.

Error message from rmaint sync:

Code: Select all

[5] "" /var/db/repos/zugaina (cache: parse|ebuild*3.0.24#metadata-md5#metadata-flat#assign)
     Reading category 183|183 (100) EMPTY!
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 21526 packages in 183 categories
!!! Repository 'zugaina' is missing masters attribute in '/var/db/repos/zugaina/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

Action: sync for repo: zugaina, returned code = 1
previous (1-4) with status Finished.
Top
<3
Veteran
Veteran
Posts: 1090
Joined: Thu Oct 21, 2004 6:34 am

  • Quote

Post by <3 » Wed Nov 12, 2025 1:42 am

nov4p wrote:Hey, I've removed and enabled the repo (zugaina) which was previously using git, but with rsync it just fails.

A hint to use git in this thread: https://forums.gentoo.org/viewtopic-t-1174887.html made it work in the past.

Error message from rmaint sync:

Code: Select all

[5] "" /var/db/repos/zugaina (cache: parse|ebuild*3.0.24#metadata-md5#metadata-flat#assign)
     Reading category 183|183 (100) EMPTY!
Applying masks...
Calculating hash tables...
Writing database file /var/cache/eix/portage.eix...
Database contains 21526 packages in 183 categories
!!! Repository 'zugaina' is missing masters attribute in '/var/db/repos/zugaina/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility

Action: sync for repo: zugaina, returned code = 1
previous (1-4) with status Finished.
Thanks nov4p, I followed that link and tried to recreate what you did. It turns out that I did in fact follow the instructions from that eselect news article. The issue was that I thought that I only had one repo in use, it turns out that I had another repo that I totaly forgot about in use as well. Running

Code: Select all

 emerge --info
printed out all the repos that I was using, then I was able to remove, then re-enable that repo. Thanks.

I propose that gentoo maintainers add a statement to that eselect news article to suggest that users run emerge --info to display all repos that the system is using.
Top
ryanknut
n00b
n00b
User avatar
Posts: 13
Joined: Tue Dec 21, 2021 9:57 pm
Contact:
Contact ryanknut
Website

  • Quote

Post by ryanknut » Wed Jan 21, 2026 4:31 pm

For anyone else running into this, here's how I fixed it easily. Note this will only work if your shell is zsh.

store all the current overlay numbers in an array:

Code: Select all

overlays=()

while IFS= read -r line; do
  if [[ $line =~ '\[([0-9]+)\]' ]]; then
    overlays+=("${match[1]}")
  fi
done < <(eselect repository list -i)
double check that the list is correct by comparing it to eselect repository:

Code: Select all

eselect repository list -i
print -l "${overlays[@]}"
loop over the list, removing then re-adding:

Code: Select all

for item in "${overlays[@]}"; do
  eselect repository remove "$item"
  eselect repository enable "$item"
done
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic