Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Portage warns that files need updating
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
Dippmopser
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2013
Posts: 92

PostPosted: Sat Sep 14, 2013 10:08 pm    Post subject: [SOLVED] Portage warns that files need updating Reply with quote

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
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Sat Sep 14, 2013 10:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dippmopser
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2013
Posts: 92

PostPosted: Sat Sep 14, 2013 11:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Sun Sep 15, 2013 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Simba7
l33t
l33t


Joined: 22 Jan 2007
Posts: 706
Location: Billings, MT, USA

PostPosted: Sun Sep 15, 2013 12:11 am    Post subject: Reply with quote

Try etc-update. Just make sure you verify any custom changes you made to the config files.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Sun Sep 15, 2013 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Dippmopser
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2013
Posts: 92

PostPosted: Sun Sep 15, 2013 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Sun Sep 15, 2013 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dippmopser
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2013
Posts: 92

PostPosted: Sun Sep 15, 2013 4:56 pm    Post subject: Reply with quote

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
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