View previous topic :: View next topic |
Author |
Message |
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Tue Jun 04, 2002 12:33 am Post subject: question about emerge and /etc/make.conf |
|
|
I have an irritating problem (well annoyance is more like it) when I merge a package. At the end of every single build i get a message that says
Important: 1 /etc file needs to be updated. when I follow the instructions on how to figure out which one it is I get an output that is /etc/._cfg000make.conf (or something like that) when viewing the file I can see that is the /etc/make.conf file without my USE settings.
Is this supposed to happen? What is recommend to be done about this if anything? Inquiring minds want to know.
C |
|
Back to top |
|
|
leej Apprentice
Joined: 18 May 2002 Posts: 280
|
Posted: Tue Jun 04, 2002 12:41 am Post subject: |
|
|
Well, it's actually doing you a favour by not overwriting your global configuration files.
From the Portage Manual:
Quote: |
Configuration File Protection
Portage allows for the protection of all configuration files in specified directories. Portage will not overwrite files in protected directories. If a package tries to install a file that already exists, it will be renamed to something like ._cfg0000_name. This is done so that users can later look at the new file and manually merge the differences between the two themselves.
|
Study the manual further here: http://gentoo.org/doc/portage-manual.html
There's also a Portage User Guide in the Documentation section of the website.
HTH |
|
Back to top |
|
|
chadh Moderator
Joined: 21 Apr 2002 Posts: 137 Location: Atlanta, GA
|
Posted: Tue Jun 04, 2002 3:06 am Post subject: |
|
|
You did the right thing. You followed the instructions, found the file, compared it to the original, and found that they were the same, except for changes that you made (eventually, portage will be able to detect this exact case, but not yet). Since you have determined that the new config file is no better than your current, feel free to delete the ._cfg* file. You need to go through this process for every file that is reported by emerge. To ease the process, emerge gentoolkit and check out etc-update. _________________ Chad |
|
Back to top |
|
|
Chickpea l33t
Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Tue Jun 04, 2002 2:57 pm Post subject: |
|
|
Thanks Chad! I will emerge the gentoolkit. I did read the Portage Manual and i understood everything except for the regeneration of the files. I got it now! Whew!
C |
|
Back to top |
|
|
leej Apprentice
Joined: 18 May 2002 Posts: 280
|
Posted: Tue Jun 04, 2002 4:02 pm Post subject: |
|
|
I just want to apologise if I came across all "RTFM"! Because it wasn't my intention.
Glad you got it sussed anyway.
Best regards |
|
Back to top |
|
|
|