Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update?!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
smurfd
Apprentice
Apprentice


Joined: 04 May 2005
Posts: 176

PostPosted: Fri Jan 13, 2006 9:13 pm    Post subject: etc-update?! Reply with quote

Hey!

so after i emerge some packages, updates. i sometimes get that portage asks me to update my /etc.

so, i run etc-update.

then it lists a X number of configs that need to be updated.

then i get to choose, from -3 or -5 i belive it is.

i always go with -5.

but this appears to overwrite my old config (+the stuff i edited in the config) ... i belive the other option does so aswell. this is quite a pickle. after doing a "emerge world" to have to config your box completely again.

there must be a easier way, right?!!
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Fri Jan 13, 2006 9:18 pm    Post subject: Reply with quote

yes -5 replaces all the old config files

look at

http://gentoo-wiki.com/HOWTO_etc-update


FtR
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Fri Jan 13, 2006 9:22 pm    Post subject: Reply with quote

some more details

if you start etc-update you cat the list of all files
i can look into the file by entering thier number ( You should do that for files you think you changes something in /etc/fstab)
later you can emerge these files yourself
or delete the update ( that what i usually do for /etc/fstab
or overwirte the file if you never touched it


FtR
Back to top
View user's profile Send private message
iamben
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 275

PostPosted: Fri Jan 13, 2006 9:30 pm    Post subject: Reply with quote

try dispatch-conf, its a lot more intuitive and will keep backups of configs you overwrite

http://gentoo-wiki.com/TIP_dispatch-conf
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4923
Location: Gothenburg, Sweden

PostPosted: Fri Jan 13, 2006 10:38 pm    Post subject: Reply with quote

Please see [FAQF] GF2: xx config files need updating and Graphical etc-update.

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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