Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update screwed all my config files
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
capkin
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2005
Posts: 90

PostPosted: Thu Aug 10, 2006 5:21 am    Post subject: etc-update screwed all my config files Reply with quote

I used to get some error messages whenever I switched to root using su -. In a web site, I saw that the problem could be fixed by running etc-update. After running it, and overriding bunch of stuff I screwed up most of my configuration. Is there a way to recover?
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Thu Aug 10, 2006 5:45 am    Post subject: Reply with quote

Hi,

I know this situation and I'm always a bit stressed when running etc-update! I always read carrefully which file are giong to be updated...
Hopefully etc-update generates backups of modified files, you should be able ro retrieve them but you should remember, at least, how etc-update has renamed backup files (I don't remember it myself, sorry)
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Thu Aug 10, 2006 6:00 am    Post subject: Reply with quote

I dont't know how to recover your old config, but I suggest you to use cfg-update instead of etc-update, I think is's better :)
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Thu Aug 10, 2006 6:46 am    Post subject: Reply with quote

Try to find '*_.cfg' files
_________________
Powered by Gentoo Linux since 2003
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Thu Aug 10, 2006 6:56 am    Post subject: Reply with quote

If your not carefull etc-update can break alot since it has the nice but dangerous "do all and dont tell" feature. I remeber once with my old laptop that I had not updated it in a couple of mounth (6-7) so when I did emerge -uDpv world it was basicly the same as doing a emerge -e world ^^

After that I was left with 400 config files to be updated. After going through a few of them I just decided what the hell I dont have a clue what any of these does anyway and boom my system was trashed into oblivion (or not really but almost ^^). I ended up doing a reinstall since I was to lazy and to much of a oldschool windows user back then to even botter trying to solve it myself.

Anyway today I have started to use dispatch-conf instead since it is a little nicer on you (even filled a bug/enhancement and hopefully it will go through :))
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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