Configuration files on update. Keep or Replace?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Configuration files on update. Keep or Replace?
What do you usually do with configuration files on update? Keep? or Replace?
I always do Replace as I did not customize configuration files, but is it safe? Or did Mint made changes to these configuration files and choosing Replace is not safe?
I always do Replace as I did not customize configuration files, but is it safe? Or did Mint made changes to these configuration files and choosing Replace is not safe?
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Configuration files on update. Keep or Replace?
backup the file location.
test the update.
reply with results
test the update.
reply with results
Re: Configuration files on update. Keep or Replace?
I always choose replace and this time, my login screen changed.
Logo above my name changed to debian logo.
Background of the login screen changed from Mint green background to something like a blue debian wallpaper with debian logo in it. As if, Mint branding has been replaced by Debian branding.
Logo above my name changed to debian logo.
Background of the login screen changed from Mint green background to something like a blue debian wallpaper with debian logo in it. As if, Mint branding has been replaced by Debian branding.
Re: Configuration files on update. Keep or Replace?
I usually pick 'N" which is the default most of the time, let's you keep the config you already have.
If you use smxi there is a list of packages that you must say Yes to.
If you use smxi there is a list of packages that you must say Yes to.
Re: Configuration files on update. Keep or Replace?
same hereindaymadel wrote:I always choose replace and this time, my login screen changed.
Logo above my name changed to debian logo.
Background of the login screen changed from Mint green background to something like a blue debian wallpaper with debian logo in it. As if, Mint branding has been replaced by Debian branding.
Re: Configuration files on update. Keep or Replace?
I updated and noticed it wanted to change "/etc/gdm3/greeter.gconf-defaults" and replaced. It also created a "/etc/gdm3/greeter.gconf-defaults.dpkg-old" file, with my prior settings. You can edit "greeter.gconf-defaults" to change the background, icon, and theme on the login screen to your taste.
gtk_theme and icon_theme need to be available to all users to work here.
gtk_theme and icon_theme need to be available to all users to work here.
Re: Configuration files on update. Keep or Replace?
im using dist-upgrade. also using sid repo instead of testing. though, config has been replaced, nothing seemed to be broken. or maybe it's just that I haven't found out yet that something got broken.craigevil wrote:I usually pick 'N" which is the default most of the time, let's you keep the config you already have.
If you use smxi there is a list of packages that you must say Yes to.
Re: Configuration files on update. Keep or Replace?
I went with Yes when asked as well, and too have the Debian background at log in.
I kind of like it! Shows the nice looking Debian background, then transforms into Mint as I log in. Looks cool, neat transition.
As far as what is the appropriate thing to do... I dunno, I'm learning. Good to hear about the -old file that was created.
If this weren't a test install just to see how things go, I guess I'd have been sure to do a full back prior to dist-upgrading...
I kind of like it! Shows the nice looking Debian background, then transforms into Mint as I log in. Looks cool, neat transition.
As far as what is the appropriate thing to do... I dunno, I'm learning. Good to hear about the -old file that was created.
If this weren't a test install just to see how things go, I guess I'd have been sure to do a full back prior to dist-upgrading...
Re: Configuration files on update. Keep or Replace?
I usually locate the file and read the changes to determine if I want the file to be replaced. You can compare the two files by clicking on the little button on the warning window. The entries with "-" in front are the original lines in the file and the entries with the "+" are the new or different lines in the files. Most times you can tell from here what the config file does. You wouldn't want to replace your samba config after spending the week figuring out how to get your computers to share files.
det4100
det4100
det4100
Running Mint Debian
Running Mint Debian
Re: Configuration files on update. Keep or Replace?
Thanks. Yeah, I've encountered comparing files. It's just that I don't know which one is original and which one is new. Not until i've read you post.det4100 wrote:I usually locate the file and read the changes to determine if I want the file to be replaced. You can compare the two files by clicking on the little button on the warning window. The entries with "-" in front are the original lines in the file and the entries with the "+" are the new or different lines in the files. Most times you can tell from here what the config file does. You wouldn't want to replace your samba config after spending the week figuring out how to get your computers to share files.
det4100
Re: Configuration files on update. Keep or Replace?
Could someone post the (original LMDE) content of "/etc/gdm3/greeter.gconf-defaults", please?
Re: Configuration files on update. Keep or Replace?
pappfer wrote:Could someone post the (original LMDE) content of "/etc/gdm3/greeter.gconf-defaults", please?
Code: Select all
# Use a specific background
/desktop/gnome/background/picture_filename /usr/share/backgrounds/linuxmint/Talento-1.jpg
/desktop/gnome/background/picture_options stretched
# Theming options
/desktop/gnome/interface/gtk_theme Shiki-Wise
#/desktop/gnome/interface/icon_theme gnome-wise
# Greeter options
#/apps/gdm/simple-greeter/logo_icon_name debian-swirl
# Some other possible options
#/apps/gdm/simple-greeter/banner_message_enable true
#/apps/gdm/simple-greeter/banner_message_text Welcome
#/apps/gdm/simple-greeter/disable_restart_buttons false
#/apps/gdm/simple-greeter/disable_user_list false
# The lower panel doesn't work with the compositor
/apps/metacity/general/compositing_manager false
-
- Level 1
- Posts: 16
- Joined: Sun Sep 19, 2010 2:47 pm
- Location: North Fork Valley
- Contact:
Re: Configuration files on update. Keep or Replace?
And a noobie to LMDE sez ... Ahhh, I just learned something. I like that. Thanks doktordavedoktordave wrote:I updated and noticed it wanted to change "/etc/gdm3/greeter.gconf-defaults" and replaced. It also created a "/etc/gdm3/greeter.gconf-defaults.dpkg-old" file, with my prior settings. You can edit "greeter.gconf-defaults" to change the background, icon, and theme on the login screen to your taste.
gtk_theme and icon_theme need to be available to all users to work here.
Now let's see if I can toast my install by playing with those a bit. Hell, my /home is on a separate partition!
Thinkpad X270 | I7-7600, 16GB, 4TB SSD | LM 20 & Win10 | Daily Driver
Thinkpad X260 | i5-6300, 16GB, 2TB SSD & 2TB External | LM 20 & Win10 | Home Desktop
Thinkpad T420 | i5-2500, 16GB, 500 SSD & 4TB External | LM 20 | Kodi & Streaming
Thinkpad X260 | i5-6300, 16GB, 2TB SSD & 2TB External | LM 20 & Win10 | Home Desktop
Thinkpad T420 | i5-2500, 16GB, 500 SSD & 4TB External | LM 20 | Kodi & Streaming
Re: Configuration files on update. Keep or Replace?
Thanks indaymadel for asking this question and posting the original "/etc/gdm3/greeter.gconf-defaults". This question was also my main concern while updating my LMDE for the very first time. And thank you doktordave and det4100 for your valuable answers. I just want to add a few details in case some other LMDE users are wondering about this issue.
So far it has been 3 configuration files (please correct me if I am wrong) in the update process which a warning window has popped up asking:
"The following changes are found in the packages you are about to install... A newer version has come but will overwrite the original ... Do you want to keep or replace?"
These 3 files are: /etc/gdm3/daemon.conf, /etc/gdm3/greeter.gconf-defaults and /etc/initramfs-tools/initramfs.conf.
If you answer "keep", a copy of the newer version will be saved in the same folder as the original file with the suffix ".dpkg-dist", for example "daemon.conf.dpkg-dist".
If you answer "replace", the original file will be overwritten by the new one, but a copy will be saved in the same folder with the suffix ".dpkg-old", for example "daemon.conf.dpkg-old".
You can compare the files during the update process in the way det4100 has explained and decide whether to keep or replace them. You can also undo your action and all changes afterward in the way doktordave has explained.
So far it has been 3 configuration files (please correct me if I am wrong) in the update process which a warning window has popped up asking:
"The following changes are found in the packages you are about to install... A newer version has come but will overwrite the original ... Do you want to keep or replace?"
These 3 files are: /etc/gdm3/daemon.conf, /etc/gdm3/greeter.gconf-defaults and /etc/initramfs-tools/initramfs.conf.
If you answer "keep", a copy of the newer version will be saved in the same folder as the original file with the suffix ".dpkg-dist", for example "daemon.conf.dpkg-dist".
If you answer "replace", the original file will be overwritten by the new one, but a copy will be saved in the same folder with the suffix ".dpkg-old", for example "daemon.conf.dpkg-old".
You can compare the files during the update process in the way det4100 has explained and decide whether to keep or replace them. You can also undo your action and all changes afterward in the way doktordave has explained.