SoulSe Posted December 1, 2003 Report Share Posted December 1, 2003 I've given Gentoo a second chance and I think I'm getting the hang of it. I need some help with etc-update, however. Everytime I merge anything I get notified that there are however many files that need updating in /etc and... somewhere else. So why don't I run etc-update, you ask? Because it doesn't seem to work! The last time I ran it, it would notify me of a file that needed updating and prompted me for action, but the only option it would accept was to overwrite the file! The option to combine the files wouldn't work, nor would just leaving the file alone. How do you all handle this problem? I've decided to leave all my files alone and worry about them if I get errors... but that probably isn't the best idea... Quote Link to comment Share on other sites More sharing options...
paul Posted December 1, 2003 Report Share Posted December 1, 2003 etc-update works fine for me ... I etc-update and update files I don't care about about, and don't update files I've written myself. The new files are all called .something so you could do it manually if you wanted something like this (I'm just guessing here) find /etc -iname ".*" --print that would find all the files in /etc named .something ... unfortunately it would also find the files called . and .. so maybe a bash expert might be better suited to doing this ;) Quote Link to comment Share on other sites More sharing options...
SoulSe Posted December 1, 2003 Author Report Share Posted December 1, 2003 Thanks paul, I'll try it again, I think I have 80-something files that need updating after my last emerge -u world! Quote Link to comment Share on other sites More sharing options...
jlc Posted December 2, 2003 Report Share Posted December 2, 2003 YEah, what said. On my gentoo box(s), I'm VERY careful of what I "allow" it to update. You can mess up a lot of important config files if your not careful. Most of the time, I will run the "find" command was talking about and compare the .cfgxxx<something or another> with the file it wants to replace. Doing it by hand can be slow, but it is safer (I leanred that about a year ago) I thrashed 3 systems in one day about a year ago, because I took "etc-update" for granted. Consider that your etc-update warning! Have fun!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.