Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to update /etc
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
pbrianf17
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 260
Location: Jacksonville Fl

PostPosted: Sun Nov 13, 2005 6:05 pm    Post subject: how to update /etc Reply with quote

ok, im installing gentoo right now, and have just emerged mdadm. it says 1 file in /etc needs updating.

if i run etc-update it asks for 2 options

-3

-5

what is the diff.?? what should i do??
Back to top
View user's profile Send private message
snizfast
n00b
n00b


Joined: 22 Sep 2004
Posts: 43

PostPosted: Sun Nov 13, 2005 8:01 pm    Post subject: Reply with quote

I suppose the simple answer is to read what it says
Code:
kburke@quark ~ $ sudo etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/init.d/dbus
/etc/init.d/._cfg0000_dbus
Please select a file to edit by entering the corresponding number.
              (don't use -3 or -5 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i'):


-3 will replace all of the files with the update but ask you for every file. -5 will just update everything remaining. Most likely this would be automatic except it would trash all of the computer specific settings you have. So if its a file you have not updated then it should be safe to accept the new one otherwise you will have to take a look and see what has changed.
_________________
Talk is cheap, supply exceeds demand
alias nocomment='sed -e '\''s/#.*//;/^\s*$/d'\'' '
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Nov 13, 2005 8:52 pm    Post subject: Re: how to update /etc Reply with quote

pbrianf17 wrote:
what is the diff.?? what should i do??

etc-update wrote:
don't use -3 or -5 if you're unsure what to do

You should enter positive numbers (the config files that need to be updated are numbered on the left).
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 952
Location: /dev/null

PostPosted: Sun Nov 13, 2005 9:00 pm    Post subject: Reply with quote

You might want to try dispatch-conf its a little more user friendly and backs up your old configs to /etc/config-archive
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Nov 14, 2005 5:25 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
Not an installation problem.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18085

PostPosted: Tue Nov 15, 2005 10:12 pm    Post subject: Reply with quote

There's also a FAQ Forum entry, and plenty of posts (Portage & Programming, Duplicates for two places to look).
_________________
Those who know what's best for us must rise and save us from ourselves.
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