Hello, Gentooers,

I recently had occasion to do "eselect profile list", which responded with:

!!! Error: Failed to get a list of valid profiles

Everything else about portage appears to be working correctly,
including updates.  Which would seem to indicate that portage can
actually find and use my profile.  Commands like "eselect news list"
generate the expected output.

ls -l /etc/portage/make.profile gives
lrwxrwxr-x 1 root portage   67 Sep 16  2024 make.profile ->
../../var/db/repos/gentoo/profiles/default/linux/amd64/23.0/desktop

All of the elements of that path exist and are readable by root and portage.

The output of "portageq get_repo_path /" is
/var/db/repos/gentoo
which exists and is in good enough condition to support portage updates.

The output of "portageq repos_config /" is
[DEFAULT]
auto-sync = yes
main-repo = gentoo
strict-misc-digests = true
sync-allow-hardlinks = true
sync-openpgp-key-refresh = true
sync-rcu = false
volatile = true

[crossdev]
auto-sync = no
location = /var/db/repos/portage-crossdev
masters = gentoo
priority = 10
strict-misc-digests = true
sync-allow-hardlinks = true
sync-openpgp-key-refresh = true
sync-rcu = false
volatile = false

[gentoo]
auto-sync = yes
location = /var/db/repos/gentoo
masters =
priority = -1000
strict-misc-digests = true
sync-allow-hardlinks = true
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-key-refresh = true
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-rcu = false
sync-type = git
sync-uri = https://anongit.gentoo.org/git/repo/sync/gentoo.git
volatile = false
sync-git-verify-commit-signature = yes

[guru]
auto-sync = yes
location = /var/db/repos/guru
masters = gentoo
strict-misc-digests = true
sync-allow-hardlinks = true
sync-depth = 1
sync-openpgp-key-refresh = true
sync-rcu = false
sync-type = git
sync-uri = https://anongit.gentoo.org/git/repo/proj/guru.git
volatile = false
sync-git-verify-commit-signature = no

[local]
auto-sync = no
location = /var/db/repos/local
masters = gentoo
priority = 50
strict-misc-digests = true
sync-allow-hardlinks = true
sync-openpgp-key-refresh = true
sync-rcu = false
volatile = false

[science]
auto-sync = yes
location = /var/db/repos/science
masters = gentoo
strict-misc-digests = true
sync-allow-hardlinks = true
sync-openpgp-key-refresh = true
sync-rcu = false
sync-type = git
sync-uri = https://anongit.gentoo.org/git/proj/sci.git
volatile = false

Google has only unearthed old instances of this problem that involve
obsolete stuff like PORTDIR.

Does anyone have a clue about where the problem lies?

Thanks!

John Blinka

Reply via email to