Re: eselect profile list fails

"D. Ben Knoble" <[email protected]> Wed, 3 Jun 2026 15:54:53 -0400
Newsgroups gmane.linux.gentoo.user
Message-ID <CALnO6CCL6F4XVaEpTPATzb+wjbfRukwCWog38Owv8Lg3YD3=ZQ@mail.gmail.com>
On Wed, Jun 3, 2026 at 11:20=E2=80=AFAM John Blinka <[email protected]>=
 wrote:
>
> On Wed, Jun 3, 2026 at 10:23=E2=80=AFAM Javier Martinez <tazok.id0@gmail.=
com> wrote:
> >
> > El 3/6/26 a las 16:16, John Blinka escribi=C3=B3:
> > > On Wed, Jun 3, 2026 at 9:45=E2=80=AFAM Javier Martinez <tazok.id0@gma=
il.com> wrote:
> > >>
> > >> El 3/6/26 a las 15:40, John Blinka escribi=C3=B3:
> > >>> Hello, everyone,
> > >>>
> > >>> Could use some help.
> > >>>
> > >>> eselect profile list gives this error on all my boxes:
> > >>> !!! Error: Failed to get a list of valid profiles
> > >>>
> > >>> All boxes have identical setup, all are amd64.
> > >>>
> > >>> ls -l make.profile gives
> > >>> make.profile ->
> > >>> ../../var/db/repos/gentoo/profiles/default/linux/amd64/23.0/desktop=
,
> > >>> whose contents are:
> > >>> eapi  gnome/  parent  plasma/  systemd/
> > >>>
> > >>> I run openrc and xfce4 with a smattering of rarely used gnome/kde/
> > >>> apps. For the most part I run a stable system, with occasional use =
of
> > >>> ~amd64. I keep up-to-date with portage. My systems have been very
> > >>> stable, although I am wrestling with the recent python upgrade, wit=
h
> > >>> sound support on one box, and the recent spate of kernel upgrades. =
The
> > >>> problems with eselect profile list have existed for months and pred=
ate
> > >>> my current issues. This problem has just now arisen to the top of m=
y
> > >>> TODO list.
> > >>>
> > >>> The error message doesn't give me any guidance. The usual Googling
> > >>> doesn't uncover much except recommendations to update portage, whic=
h I
> > >>> do very regularly.
> > >>>
> > >>> Thanks for any ideas on where to start looking!
> > >>>
> > >>> John Blinka
> > >>>
> > >>

>
> Ah ha!
> --> grep EACCESS output
> 20075 faccessat2(AT_FDCWD,
> "/var/db/repos/gentoo/profiles/profiles.desc", R_OK, AT_EACCESS) =3D 0
> 20075 faccessat2(AT_FDCWD,
> "/var/db/repos/portage-crossdev/profiles/profiles.desc", R_OK,
> AT_EACCESS) =3D -1 ENOENT (No such file or directory)
> 20075 faccessat2(AT_FDCWD,
> "/var/db/repos/guru/profiles/profiles.desc", R_OK, AT_EACCESS) =3D -1
> ENOENT (No such file or directory)
> 20075 faccessat2(AT_FDCWD,
> "/var/db/repos/local/profiles/profiles.desc", R_OK, AT_EACCESS) =3D -1
> ENOENT (No such file or directory)
> 20075 faccessat2(AT_FDCWD,
> "/var/db/repos/science/profiles/profiles.desc", R_OK, AT_EACCESS) =3D -1
> ENOENT (No such file or directory)
>
> All of my additional repos are missing a required profiles.desc. I'll
> have to reread how to add a repo.  Perhaps something has changed in
> the past year or so.
>
> You are always quite helpful. Thanks!
>
> John

Does sync'ing not bring the right file? (Does it not exist or does it
not have the right ownership + permissions?)

--=20
D. Ben Knoble