View previous topic :: View next topic |
Author |
Message |
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Aug 14, 2002 7:52 am Post subject: i screwed up |
|
|
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 |
|
|
kirill Apprentice
Joined: 01 Aug 2002 Posts: 183 Location: Finland
|
Posted: Wed Aug 14, 2002 7:59 am Post subject: |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Aug 14, 2002 8:07 am Post subject: |
|
|
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 |
|
|
kirill Apprentice
Joined: 01 Aug 2002 Posts: 183 Location: Finland
|
Posted: Wed Aug 14, 2002 8:20 am Post subject: |
|
|
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 |
|
|
binbash n00b
Joined: 04 Jul 2002 Posts: 16
|
Posted: Wed Aug 14, 2002 8:33 am Post subject: |
|
|
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 |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Wed Aug 14, 2002 8:07 pm Post subject: |
|
|
yeah sorry about that ...thanks for the help.....i thinknit was just too late and i should have gone ta bed |
|
Back to top |
|
|
|