View previous topic :: View next topic |
Author |
Message |
fluth n00b
Joined: 22 Oct 2003 Posts: 5 Location: South Dakota
|
Posted: Mon Nov 17, 2003 10:09 pm Post subject: Config files?? |
|
|
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 |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Mon Nov 17, 2003 10:23 pm Post subject: |
|
|
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 |
|
|
ckdake l33t
Joined: 10 Apr 2003 Posts: 889 Location: Atlanta, GA
|
Posted: Mon Nov 17, 2003 10:24 pm Post subject: |
|
|
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 |
|
|
|