Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Config files??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fluth
n00b
n00b


Joined: 22 Oct 2003
Posts: 5
Location: South Dakota

PostPosted: Mon Nov 17, 2003 10:09 pm    Post subject: Config files?? Reply with quote

Code:

* GNU info directory index is up-to-date.
* IMPORTANT: 36 config files in /etc need updating.
* IMPORTANT: 55 config files in /usr/X11R6/lib/X11/xkb need updating.
* IMPORTANT: 4 config files in /usr/kde/3.1/share/config need updating.
* Type emerge --help config to learn how to update config files.


What the Heck? I looked at the help document and still don't get it. I am just stupid I guess. Help!
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Mon Nov 17, 2003 10:23 pm    Post subject: Reply with quote

Certain directories (e.g. /etc) are 'protected' - upgrading or installing packages will not overwrite existing configuration files. Instead, a file matching the pattern ._cfg????_* is created, containing the newer config options. It is up to you to merge each of these new files with your existing ones. There are several tools available to do this: etc-update, cfg-update, etc. Be aware that you can easily overwrite all your customisations if you're not careful, so read everything carefully and if you're really concerned, make a backup of /etc first.

BTW, you should do what the output suggested and read 'emerge --help config' - it explains it all there.

Perhaps others reading this thread can post examples of other programs that make this task easier. I can only think of two off the top of my head.
Back to top
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Mon Nov 17, 2003 10:24 pm    Post subject: Reply with quote

type "
Code:
find /etc -iname "._cf*"


this will point you to the new config files that portage made for you.

then cd to the directory one of them is in, and compare it to your current config file.

I use diff:
Code:
diff ._cfg0001_blah blah


I usually edit the ._ file, copy over what i want from the old file, and then just replace the old file with the ._ file.
_________________
http://ckdake.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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