Question about configuration files in update/upgrade

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Question about configuration files in update/upgrade

Postby joegiampaoli on Tue Dec 11, 2012 4:28 pm

Hello to all, newbie to LinuxMint - Debian Edition here but not to linux :D

I'm really liking LinuxMint but I just came to a technical question regarding the system upgrades, just installed LMDE and performed all the updates that the system was asking me for and I was presented with the question of keeping or updating some configuration files, so I just clicked on "KEEP" instead of changing them for newer versions. Was this ok? Is this what I'm supposed to do? What would happen if I did click on replace for the new ones (in case I do it in an accidental way in the future).

Thanks to all.

Joe
joegiampaoli
Level 1
Level 1
 
Posts: 1
Joined: Tue Dec 11, 2012 4:12 pm

Linux Mint is funded by ads and donations.
 

Re: Question about configuration files in update/upgrade

Postby widget on Fri Dec 14, 2012 3:58 pm

That is probably fine.

If you have changed any of the configuration files it is likely a very good idea. I have very carefully changed a number of the scripts used in grub for instance. /etc/grub.d/05_debian_theme is one example. This is changed to make the font color of the screen menu work with the screen menu background that I have put in.

Another common config file that you get that question with is when bash is upgraded. This question will have to do with the .bashrc. If you have not changed it there is no harm in upgrading the file. If you have used it instead of the recommended .bash_aliases to have a custom alias then you will loose that alias if the file is changed to the new default.

There are a number of those questions, however, that I think you should probably let the installer change. If you have not changed them the upgraded wording may work better or be needed for some upcoming change in the application that the config file controls.

Indeed I have had to, after a couple of years of using the same 05_debian_theme file had to upgrade to the developers new file so that it actually would work at all. There were several lines added that just had to be in there.

Basically if you have not changed the things yourself it is best to keep the files up to date. In most cases you will never see any difference in look or performance. They may just be a cleaner version or a security update.

The ones you have changed you should have saved the original and your edited version to some backup directory and if needed you can get the new version and then redo your custom edits.
Dell XPS 420 Core2 Quad Q 6600, audigy5.1, Radeon HD 6450 - currently 4 320Gb HDD, Debian Squeeze for secure use, Debian testing for daily use, Debian Sid for fun.
widget
Level 3
Level 3
 
Posts: 167
Joined: Thu May 14, 2009 2:49 am
Location: S.E. Montana


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests