View previous topic :: View next topic |
Author |
Message |
Dippmopser Tux's lil' helper
Joined: 22 Jun 2013 Posts: 92
|
Posted: Sat Sep 14, 2013 10:08 pm Post subject: [SOLVED] Portage warns that files need updating |
|
|
When I emege somthing I get the following message:
Code: |
* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
|
So I looked into the manpages of emerge, there I find:
Quote: | When Portage installs a file into a protected directory tree like /etc, any existing files will not be overwritten.
If a file of the same name already exists, Portage will change the name of the to-be-installed file from 'foo' to
'._cfg0000_foo'. If '._cfg0000_foo' already exists, this name becomes '._cfg0001_foo', etc. In this way, existing
files are not overwritten, allowing the administrator to manually merge the new config files and avoid any unexpected
changes.
|
That being as it may, when I look into my portage directory, there are no files with a _cfg0000_ part in their file name.
Could someone tell me what should be done here?
Last edited by Dippmopser on Sun Sep 15, 2013 5:13 pm; edited 1 time in total |
|
Back to top |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Sat Sep 14, 2013 10:13 pm Post subject: |
|
|
If you continue reading in that section, you should find:
Quote: | Tools such as dispatch-conf, cfg-update, and etc-update are also available to aid in the merging of these
files. They provide interactive merging and can auto-merge trivial changes. |
I use (and can recommend) dispatch-conf, for whatever that's worth to you. |
|
Back to top |
|
|
Dippmopser Tux's lil' helper
Joined: 22 Jun 2013 Posts: 92
|
Posted: Sat Sep 14, 2013 11:30 pm Post subject: |
|
|
Thanks for the reply, running dispatch-conf, however does not solve the problem.
The command is executed without any errors or anything else thereafter I am again at the root prompt emerging the same foo as before still tells me there a config files that need to be updated. |
|
Back to top |
|
|
kurly Apprentice
Joined: 02 Apr 2012 Posts: 260
|
Posted: Sun Sep 15, 2013 12:04 am Post subject: |
|
|
I must admit, then, that I do not know how to proceed. I hope someone else will be able to chime in. My apologies. |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Sun Sep 15, 2013 12:11 am Post subject: |
|
|
Try etc-update. Just make sure you verify any custom changes you made to the config files. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sun Sep 15, 2013 5:26 am Post subject: |
|
|
make sure you run them with root permissions. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Dippmopser Tux's lil' helper
Joined: 22 Jun 2013 Posts: 92
|
Posted: Sun Sep 15, 2013 4:27 pm Post subject: |
|
|
Code: | * IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update |
...
Code: | lintan nameless # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
|
Here is a screenshot of my portage folder:
http://s13.postimg.org/8uro1bptz/Untitled.jpg |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sun Sep 15, 2013 4:41 pm Post subject: |
|
|
Dippmopser wrote: | Code: | * IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update |
...
Code: | lintan nameless # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
|
Here is a screenshot of my portage folder:
http://s13.postimg.org/8uro1bptz/Untitled.jpg |
see my comment above. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Dippmopser Tux's lil' helper
Joined: 22 Jun 2013 Posts: 92
|
Posted: Sun Sep 15, 2013 4:56 pm Post subject: |
|
|
OK the problem is now solved:
Here is what the problem was: As far as I was able to figure it out:
Since the man page of emerge stated that: adding the entry
Code: |
You can disable this feature by setting CONFIG_PROTECT="-*" in make.conf
|
Since I did not make any special settings aside from those suggested in the gentoo installation guide, I made the entry stated above and there after emerged the same foo again.
However portage did not overwrite anything and the notification remained. This obviously had the interesting side-effect of undermining the functionality of dispatch-conf as well as etc-update although I do not know why.
After removing said entry dispatch-conf worked as it should.
May be someone could explain why for I dont get it. |
|
Back to top |
|
|
|