Question about configuration files in update/upgrade

Archived topics about LMDE 1 and LMDE 2
Locked
joegiampaoli

Question about configuration files in update/upgrade

Post by joegiampaoli »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
widget

Re: Question about configuration files in update/upgrade

Post by widget »

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

Return to “LMDE Archive”