Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eselect fails to find any valid profiles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
alpage2
n00b
n00b


Joined: 25 Apr 2004
Posts: 25
Location: UK

PostPosted: Wed Mar 27, 2019 10:42 am    Post subject: eselect fails to find any valid profiles Reply with quote

On an AMD64 machine, I am working my way through the installation scheme in the AMD64 version of the handbook. I am using the defauly partitioning scheme, expanded the 64-bit only stage3 file successfully. All steps went well until webrsync failed on my chosen mirror, so instead I just used:
Code:

emerge --sync


That seemed to go well - next step setting a profile is where it went wrong.
Code:

eselect profile list

resulted in:
Quote:

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


Just sauntering around the system, I notice that /etc/profile.d is empty - but perhaps setting a profile is what populates it??

Also, /usr/portage is empty - should it not contain something after the emerge --sync?

I'd be most grateful for some blow-by-blow instructions on how to set the profile manually.
Thanks in anticipation
Alan
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21776
Location: here

PostPosted: Wed Mar 27, 2019 11:14 am    Post subject: Re: eselect fails to find any valid profiles Reply with quote

alpage2 wrote:
Also, /usr/portage is empty - should it not contain something after the emerge --sync?

What is the exact emerge --sync output? If /usr/portage is empty the sync has not finished correctly
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43186
Location: 56N 3W

PostPosted: Wed Mar 27, 2019 11:15 am    Post subject: Reply with quote

alpage2,

Code:
emerge --sync
will populate /usr/portage it should work with an empty /usr/portage but it will be very slow. Possibly hours.
Its a two step process, step one is to download all the changed files (everything for you) to a holding area.
Step two is to validate the GPG signatures, then copy the files from the holding area to /usr/portage

Once emerge --sync is populated your profiles will be in /usr/portage/profiles/
eselect profile looks in there to find a list of profiles for you.

If websync fails, we should fix it. Its possible that you don't have a network connection from inside the chroot.
This would make emerge --sync do lots of retries then give up.

From inside the chroot, can you
Code:
ping google.com

If that fails, I suspect you missed the step where you
Code:
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

Typoing the output file in that command is a popular error too.

You can do the websync by hand, if thats what it takes but it looks like websync and emerge --sync both failed, so you probably can't download any source files either.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
alpage2
n00b
n00b


Joined: 25 Apr 2004
Posts: 25
Location: UK

PostPosted: Wed Mar 27, 2019 5:46 pm    Post subject: Reply with quote

Thanks for the feedback.

I went back to why webrsync failed, and wondered whether it was because I had chosen an rsync mirror?

I edited the mirror entry and changed rsync to https, and this time it worked fine and I was able to select a profile.

Initially, I followed the advice in the handbook and selected a 13.0 profile but subsequently a message was displayed in the terminal saying that my choice (13.0) was now deprecated, and it recommended the 17.0/no-multilibs option, which I then changed to and that seemed to go fine.

Thanks again for the help.
Alan
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21776
Location: here

PostPosted: Wed Mar 27, 2019 6:33 pm    Post subject: Reply with quote

Remeber if you use a no-multilibs profile you cannot install some package that need 32bit support (primarily steam, wine for run some windows 32bit software).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum