gentoo repository seems to be no more accessible via protocol git:// . I updated /etc/portage/repos.conf/gentoo.conf to refer to https://anongit.gentoo.org/git/repo/gentoo.git But git fetch origin still fails. Please could you check gentoo .git/config file section [remote "origin"] ? It refers to git://anongit.gentoo.org/repo/gentoo.git instead of https://anongit.gentoo.org/git/repo/gentoo.git Reproducible: Always Steps to Reproduce: 1.remove gentoo depot directory 2.git clone --depth 1 https://anongit.gentoo.org/git/repo/gentoo.git . 3.git fetch origin Actual Results: Action sync for repo: gentoo, returned code = 128 Expected Results: returned code = 0 same issue with emaint sync command
Have you updated your /etc/repos.conf?
(In reply to Michał Górny from comment #1) > Have you updated your /etc/repos.conf? You mean /etc/portage/repos.conf ? I'm using /etc/portage/repos.conf/ directory gentoo.conf contains, [DEFAULT] main-repo = gentoo sync-user = portage:portage repo-depth = 1 [gentoo] location = /var/cache/portage/depot sync-user = portage:portage sync-type = git sync-uri = https://anongit.gentoo.org/git/repo/gentoo.git auto-sync = yes repo-depth = 1 #sync-type = rsync #sync-uri = rsync://rsync.europe.gentoo.org/gentoo-portage #sync-user = portage:portage After removing ${PORTDIR}, I did run emaint logs --clean && emaint sync --auto. I since tested it again and I was not able to reproduce it. If you didn't change anything it was my config. Thx anyway
Yes, it was. Good that it works now ;-).