Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Config Files Need Updating!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Sun Jan 05, 2003 12:00 pm    Post subject: Config Files Need Updating! Reply with quote

hi there,

when i emerge a package, it says when it has finished 'emerging' it that:

10 config files need updating! Look at emerge-help for more info.

this tells me nothing.

how do you update the config files?

thanx

offie
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Sun Jan 05, 2003 12:09 pm    Post subject: Reply with quote

Try
Code:
etc-update

I really wonder why this isn't more widely known, seriously, this is a very frequently asked question. :?
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Sun Jan 05, 2003 12:10 pm    Post subject: Reply with quote

hmm, yes. so that is the one? etc-update? or is there anything else? seems a little more complex than that in the help file?
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Sun Jan 05, 2003 1:02 pm    Post subject: Reply with quote

Just try it. It shows you diffs between your old file and the one that came with the ebuild you just emerged, and it lets you decide whether you want to replace the old file with the new one, drop the latter, or merge both files interactively. Don't be afraid to break much trying it out, you can always just discard your changes and start over... :)
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Sun Jan 05, 2003 8:26 pm    Post subject: thanx! Reply with quote

alright, thanks for the cool advice!

offie :P
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Mon Jan 06, 2003 2:29 am    Post subject: Reply with quote

plate wrote:
you can always just discard your changes and start over


How can I discard changes after they have been made?
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Mon Jan 06, 2003 2:42 am    Post subject: Reply with quote

ctrl-c should do the trick... :lol: No, seriously, you can skip any individual update with "-1" at the prompt. Just look at what etc-update tells you while you're running it.
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Mon Jan 06, 2003 3:17 am    Post subject: Reply with quote

plato wrote:
you can skip any individual update with "-1"


You misread my question - I meant after changes had been committed. I am having some problems at the moment due to having overwritten files and was looking for a way to rollback.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Mon Jan 06, 2003 4:28 am    Post subject: Reply with quote

Narada wrote:
plato wrote:

Too much honour. 'name's plate, thank you very much.
Narada also wrote:
You misread my question

Well, thank you for clearing that up. Stupid me. How could I.

If you really need to roll back at some point, there's no alternative to keeping the .__cfg files around. But assuming we're talking about those config files you edited beforehand and that suffer from a botched update, you've surely prepared a backup copy somewhere , haven't you? What do you mean, "no"? 8O
Back to top
View user's profile Send private message
iancognito85
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 283
Location: United Kingdom

PostPosted: Mon Jan 06, 2003 8:29 am    Post subject: Reply with quote

so youre basically saying, once the changes have been made, there is no going back?
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Mon Jan 06, 2003 9:26 am    Post subject: Reply with quote

Which part of "backup copy" did you not understand? :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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