Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge /etc/portage/make.profile is not a symlink
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
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1626

PostPosted: Tue Dec 11, 2018 10:05 am    Post subject: [SOLVED] emerge /etc/portage/make.profile is not a symlink Reply with quote

Hello Everyone

I am trying to install gentoo on a new laptop but I face the problem of
Code:
 emerge /etc/portage/make.profile is not a symlink
that prevents me to emerge programs and even the new portage. The only thing I was able to do is emerge --sync.

Code:
eselect profile list
gives an empty list throws error and exits. I tried to create a symlink manually, but it required creating directories first which where absent (all the directories after /usr/portage), so it's actually useless.

I downloaded stage3 from here: http://distfiles.gentoo.org/releases/amd64/autobuilds/20181209T214502Z/stage3-amd64-20181209T214502Z.tar.xz

What is wrong and how I can fix it?


Last edited by queen on Thu Dec 13, 2018 7:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
bec
Apprentice
Apprentice


Joined: 30 Sep 2004
Posts: 218
Location: Cali - Colombia

PostPosted: Tue Dec 11, 2018 3:24 pm    Post subject: Reply with quote

I guess you need /usr/portage populated:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Configuring_Portage
_________________
abe
Back to top
View user's profile Send private message
shrike
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2004
Posts: 136
Location: Closer to home

PostPosted: Wed Dec 12, 2018 1:26 pm    Post subject: Reply with quote

queen,

Looking at an older stage3:

Code:
# tar -tvf stage3-amd64-20180809T214504Z.tar |grep /etc/portage
drwxr-xr-x root/root             0 2018-08-09 21:22 ./etc/portage/
drwxr-xr-x root/root             0 2018-08-09 19:52 ./etc/portage/savedconfig/
drwxr-xr-x root/root             0 2018-08-09 19:52 ./etc/portage/savedconfig/sys-apps/
-rw-r--r-- root/root         27423 2018-02-22 19:37 ./etc/portage/savedconfig/sys-apps/busybox-1.28.0
drwxr-xr-x root/root             0 2018-08-09 20:00 ./etc/portage/repo.postsync.d/
-rw-r--r-- root/root          1656 2018-05-25 12:15 ./etc/portage/repo.postsync.d/example
-rwxr-xr-x root/root           153 2018-02-22 20:28 ./etc/portage/repo.postsync.d/q-reinit
lrwxrwxrwx root/root             0 2018-08-09 21:22 ./etc/portage/make.profile -> ../../usr/portage/profiles/default/linux/amd64/17.0
drwxr-xr-x root/root             0 2018-08-09 21:22 ./etc/portage/package.accept_keywords/
drwxr-xr-x root/root             0 2018-08-09 21:22 ./etc/portage/package.mask/
drwxr-xr-x root/root             0 2018-08-09 21:22 ./etc/portage/package.use/
-rw-r--r-- root/root           479 2018-08-09 21:22 ./etc/portage/make.conf


Code:
tar -tvf stage3-amd64-20180809T214504Z.tar |grep /usr/portage/profiles/default/linux/
lrwxrwxrwx root/root             0 2018-08-09 21:22 ./etc/portage/make.profile -> ../../usr/portage/profiles/default/linux/amd64/17.0


Assuming the stage3 you downloaded was not corrupted I wonder if you made a typo in untarring.

Are you seeing any issues in dmesg? I assume you are still in the 'chroot' phase of the install.

Sorry for asking obvious questions, I imagine this is not your first install. It is an odd situation.

Shrike
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13985

PostPosted: Thu Dec 13, 2018 1:30 am    Post subject: Re: emerge /etc/portage/make.profile is not a symlink Reply with quote

queen wrote:
The only thing I was able to do is emerge --sync.
This emerge --sync succeeded and populated /usr/portage?
queen wrote:
Code:
eselect profile list
gives an empty list throws error and exits. I tried to create a symlink manually, but it required creating directories first which where absent (all the directories after /usr/portage), so it's actually useless.
That sounds wrong. The directories should have already existed. What is the output of find /usr/portage/ -ls | head -n100?
queen wrote:
I downloaded stage3 from here: http://distfiles.gentoo.org/releases/amd64/autobuilds/20181209T214502Z/stage3-amd64-20181209T214502Z.tar.xz

What is wrong and how I can fix it?
Where did you get your initial Portage tree snapshot? Snapshots are shipped separately from the stage3.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1626

PostPosted: Thu Dec 13, 2018 7:55 pm    Post subject: Reply with quote

Thanks for all the replies. It turned out that the link from where I downloaded stage3 was corrupted. Once I downloaded stage3 from the mirrors everything was sorted out.

I didn't need to download portage anymore because it was up to date.
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