View previous topic :: View next topic |
Author |
Message |
torleif n00b
Joined: 25 Feb 2008 Posts: 12
|
Posted: Thu Feb 28, 2008 2:36 am Post subject: entered something wrong as root |
|
|
Hi.
I am a newbe to linux.
As root I accidentaly entered: PORTDIR_OVERLAY="/usr/portage/local/layman/wschlich-testing"
I was suppsosed to enter this in /etc/make.conf, and did so afterwards.
When I entered: PORTDIR_OVERLAY="/usr/portage/local/layman/wschlich-testing" as root in the terminal all that happened was I got a new line, localhost torleif #
There was no error message. Usually when I type somthing wrong it says "command not found"
since it did not say "command not found", did it do something? if so what?
Another question?
If I do "emerge -ae world" I get a lot of packages that needs to be rebuil. I said no.
What does "emerge -e world" do?
Regards
Torleif |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Thu Feb 28, 2008 2:49 am Post subject: |
|
|
Okay - First thing first - when you do something="a string", it sets the environment varible something to "a string". After doing that command, nothing was technically wrong. You could have used it just fine. All make.conf does is set those variables automatically, and across sessions. Try echoing $PORTDIR_OVERLAY .
In emerge -e, the "e" stands for every - as in, emerge -e world compiles every package in world.
Quick tips:
To update: emerge -uDNav world
To emerge something: emerge -av package
And ALWAYS: revdep-rebuild
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
Hupf Tux's lil' helper
Joined: 11 Sep 2005 Posts: 112 Location: Germany
|
Posted: Thu Feb 28, 2008 10:38 am Post subject: |
|
|
Simply
Code: | unset PORTDIR_OVERLAY |
to undo your previous command. This is safe since that particular environment variable is supposed to be set by each new emerge session, not inside a login shell. |
|
Back to top |
|
|
torleif n00b
Joined: 25 Feb 2008 Posts: 12
|
Posted: Thu Feb 28, 2008 1:20 pm Post subject: |
|
|
Ok.
So it did not do anything to my system?
Torleif |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Thu Feb 28, 2008 8:10 pm Post subject: |
|
|
torleif wrote: | Ok.
So it did not do anything to my system?
Torleif |
Nothing permanent. If you've already rebooted the system, or logged out/back into that shell, nothing is left of your mistake.
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
torleif n00b
Joined: 25 Feb 2008 Posts: 12
|
Posted: Fri Feb 29, 2008 12:23 am Post subject: |
|
|
Thanks!
I have a lot to learn! |
|
Back to top |
|
|
Carnildo Guru
Joined: 17 Jun 2004 Posts: 594
|
Posted: Fri Feb 29, 2008 12:47 am Post subject: |
|
|
poly_poly-man wrote: | In emerge -e, the "e" stands for every - as in, emerge -e world compiles every package in world. |
It's more than that. "-e" stands for "empty tree": emerge this package and every package that it depends on. So "emerge -e world" means basically "recompile every package on your computer". |
|
Back to top |
|
|
|