Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i screwed up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Aug 14, 2002 7:52 am    Post subject: i screwed up Reply with quote

i deleted /etc/make.profile trying to recreate it and point it to gcc3 but i am not able to recreate it...how can i fix this?

emerge rsync does not repair it.
Back to top
View user's profile Send private message
kirill
Apprentice
Apprentice


Joined: 01 Aug 2002
Posts: 183
Location: Finland

PostPosted: Wed Aug 14, 2002 7:59 am    Post subject: Reply with quote

From what I can understand you just deleted the symlink, which used to point to some directory in /usr/portage/profiles

Are there still any directories left there? I bet there are.
If there is nothing left, extract that stuff from the stage3-tarball.

Code:
ln -s /usr/portage/profiles/default-1.0 /etc/make.progile


btw. emerge rsync definately SHOULD be able to fix that for you...

best regards
_________________
--kirill
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Aug 14, 2002 8:07 am    Post subject: Reply with quote

yes i have all the profile directories available still in /usr/portage/profiles , but when i create a make.profile directory and then try to symlink it to a directory in /usr/portage/profiles it makes the link but then ls -l /etc/make.profile returns an empty directory.

i am confused
Back to top
View user's profile Send private message
kirill
Apprentice
Apprentice


Joined: 01 Aug 2002
Posts: 183
Location: Finland

PostPosted: Wed Aug 14, 2002 8:20 am    Post subject: Reply with quote

rommel wrote:
yes i have all the profile directories available still in /usr/portage/profiles , but when i create a make.profile directory and then try to symlink it to a directory....


Man.. You dont create a directory, you should symlink!

When you mkdir /etc/make.profile, and try to ln -s after that, the symlink doesn't get created, cause the directory already exists. If you want to override that directory, use the -f (force) -option with ln.

anyway, in your situation I would recommend:

Code:
rm -rf /etc/make.profile
emerge rsync


gl
_________________
--kirill
Back to top
View user's profile Send private message
binbash
n00b
n00b


Joined: 04 Jul 2002
Posts: 16

PostPosted: Wed Aug 14, 2002 8:33 am    Post subject: Reply with quote

rommel wrote:
yes i have all the profile directories available still in /usr/portage/profiles , but when i create a make.profile directory and then try to symlink it to a directory in /usr/portage/profiles it makes the link but then ls -l /etc/make.profile returns an empty directory.

i am confused


Don't mkdir the directory just create the link and the make.profile dir will be made..

rm /etc/make.profile
ln -s /usr/portage/profiles/default-1.0 /etc/make.profile

or whatever dir you want to link it to..
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed Aug 14, 2002 8:07 pm    Post subject: Reply with quote

yeah sorry about that ...thanks for the help.....i thinknit was just too late and i should have gone ta bed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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