Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
do i have to do unmerge everytime i do emerge?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
slimbim
n00b
n00b


Joined: 14 Aug 2002
Posts: 29

PostPosted: Sat Aug 17, 2002 5:02 pm    Post subject: do i have to do unmerge everytime i do emerge? Reply with quote

after I install something using emerge, do I have to do emerge unmerge to remove old ones? or can I just do emerge and just leave it at that?

thanks!
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Aug 17, 2002 5:27 pm    Post subject: Reply with quote

You can add AUTOCLEAN="yes" to /etc/make.conf to have emerge automatically remove old versions when installing new ones.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Aug 17, 2002 5:31 pm    Post subject: Reply with quote

Quote:
do I have to do emerge unmerge to remove old ones?

NOOOOOOOOOOOO!!!!!!
Please don't do that. You will be unhappy. Read the section of the emerge man page about the unmerge command. It begins with "WARNING" for a reason. unmerge removes the package you have just so carefully installed.

You are probably talking about "clean" rather than "unmerge", which only removes superseded packages. You don't have to run "clean" every time you merge new software either. You can if you want to, or you can just do it every once in a while, or not at all. The only thing not running it at all will cost you is disk space.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
slimbim
n00b
n00b


Joined: 14 Aug 2002
Posts: 29

PostPosted: Sat Aug 17, 2002 5:44 pm    Post subject: Reply with quote

Oh ok. Good thing I checked. Thanks!!
Back to top
View user's profile Send private message
slimbim
n00b
n00b


Joined: 14 Aug 2002
Posts: 29

PostPosted: Sat Aug 17, 2002 5:46 pm    Post subject: Reply with quote

What about updating etc? when i emerge something, sometimes it says IMPORTANT: files in etc needs updating.

I know how to do this, emerge gentoolkit and run etc-update. but is it safe to just go ahead and run etc-update and pick 1 to replace the files whenever gentoo tells me i have to update etc??
Back to top
View user's profile Send private message
therobot
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 256
Location: Canada

PostPosted: Sat Aug 17, 2002 5:52 pm    Post subject: Reply with quote

You should read the file thats going to be replacing the old one, And make sure you want the change, or not. Sometimes things like make.conf will get updated, but it'll erase all your use variables and flags.
Back to top
View user's profile Send private message
slimbim
n00b
n00b


Joined: 14 Aug 2002
Posts: 29

PostPosted: Sat Aug 17, 2002 5:54 pm    Post subject: Reply with quote

since i am a newb, it will be safer to just leave the etc folder untouched?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Aug 17, 2002 6:12 pm    Post subject: Reply with quote

slimbim wrote:
since i am a newb, it will be safer to just leave the etc folder untouched?

There's really no right answer to this. You could see this and this for a bit more background.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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