Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Portage after Stage4 Restore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ludachr1s7
n00b
n00b


Joined: 05 Jun 2009
Posts: 20

PostPosted: Mon Jun 08, 2009 4:08 pm    Post subject: [SOLVED] Portage after Stage4 Restore Reply with quote

Hey, I only did a quick google and gentoo forum search so don't flame me if i missed something, but i just did a stage4 restore and i excluded the /usr/portage from the backup, so logicially now i get this error when i try to do anything in portage

Code:
!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.


Im sure there is some simple command,
Is there a quick fix?
Thanks in advance

PS the only things i found on searches pertained to people who actually already had files in their directory and just messed something up, naturally i have no files in it.


Last edited by ludachr1s7 on Mon Jun 08, 2009 4:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1051

PostPosted: Mon Jun 08, 2009 4:23 pm    Post subject: Re: Portage after Stage4 Restore Reply with quote

ludachr1s7 wrote:
Hey, I only did a quick google and gentoo forum search so don't flame me if i missed something, but i just did a stage4 restore and i excluded the /usr/portage from the backup, so logicially now i get this error when i try to do anything in portage

Code:
!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.


Im sure there is some simple command,
Is there a quick fix?
Thanks in advance

PS the only things i found on searches pertained to people who actually already had files in their directory and just messed something up, naturally i have no files in it.


go get latest portage.
untar into /usr
emerge --sync
then
ln -snf /usr/portage/profiles/<profile name> /etc/make.profile

example: ln -snf /usr/portage/profiles/default/linux/x86/2008.0/desktop /etc/make.profile
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
ludachr1s7
n00b
n00b


Joined: 05 Jun 2009
Posts: 20

PostPosted: Mon Jun 08, 2009 4:36 pm    Post subject: Re: Portage after Stage4 Restore Reply with quote

tranquilcool wrote:
ludachr1s7 wrote:
Hey, I only did a quick google and gentoo forum search so don't flame me if i missed something, but i just did a stage4 restore and i excluded the /usr/portage from the backup, so logicially now i get this error when i try to do anything in portage

Code:
!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.


Im sure there is some simple command,
Is there a quick fix?
Thanks in advance

PS the only things i found on searches pertained to people who actually already had files in their directory and just messed something up, naturally i have no files in it.


go get latest portage.
untar into /usr
emerge --sync
then
ln -snf /usr/portage/profiles/<profile name> /etc/make.profile

example: ln -snf /usr/portage/profiles/default/linux/x86/2008.0/desktop /etc/make.profile


thanks so much i knew i missed a step in the snapshot
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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