Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
entered something wrong as root
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
torleif
n00b
n00b


Joined: 25 Feb 2008
Posts: 12

PostPosted: Thu Feb 28, 2008 2:36 am    Post subject: entered something wrong as root Reply with quote

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
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Feb 28, 2008 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Hupf
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2005
Posts: 112
Location: Germany

PostPosted: Thu Feb 28, 2008 10:38 am    Post subject: Reply with quote

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
View user's profile Send private message
torleif
n00b
n00b


Joined: 25 Feb 2008
Posts: 12

PostPosted: Thu Feb 28, 2008 1:20 pm    Post subject: Reply with quote

Ok.
So it did not do anything to my system?


Torleif
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Feb 28, 2008 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
torleif
n00b
n00b


Joined: 25 Feb 2008
Posts: 12

PostPosted: Fri Feb 29, 2008 12:23 am    Post subject: Reply with quote

Thanks!

I have a lot to learn! :D
Back to top
View user's profile Send private message
Carnildo
Guru
Guru


Joined: 17 Jun 2004
Posts: 594

PostPosted: Fri Feb 29, 2008 12:47 am    Post subject: Reply with quote

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
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