Configuration files on update. Keep or Replace?

Archived topics about LMDE 1
Locked
indaymadel
Level 2
Level 2
Posts: 87
Joined: Thu Sep 30, 2010 8:57 pm
Contact:

Configuration files on update. Keep or Replace?

Post by indaymadel » Sun Oct 10, 2010 6:28 pm

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?
Get started building backlinks using my free backlinks collection.

User avatar
thetank
Level 1
Level 1
Posts: 29
Joined: Sun Nov 09, 2008 1:16 pm
Location: Cornwall, Ontario
Contact:

Re: Configuration files on update. Keep or Replace?

Post by thetank » Mon Oct 11, 2010 12:40 am

backup the file location.

test the update.

reply with results
Ubuntu to Richard Stallman

indaymadel
Level 2
Level 2
Posts: 87
Joined: Thu Sep 30, 2010 8:57 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by indaymadel » Thu Oct 14, 2010 9:36 pm

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.
Get started building backlinks using my free backlinks collection.

craigevil
Level 5
Level 5
Posts: 554
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole
Contact:

Re: Configuration files on update. Keep or Replace?

Post by craigevil » Fri Oct 15, 2010 7:00 am

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.
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi

vooid
Level 1
Level 1
Posts: 28
Joined: Tue Aug 03, 2010 7:27 pm

Re: Configuration files on update. Keep or Replace?

Post by vooid » Sat Oct 16, 2010 11:18 am

indaymadel 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.
same here

specmod0
Level 3
Level 3
Posts: 144
Joined: Sun Sep 19, 2010 1:48 pm

Re: Configuration files on update. Keep or Replace?

Post by specmod0 » Sat Oct 16, 2010 2:32 pm

same here too...... :shock:

User avatar
doktordave
Level 2
Level 2
Posts: 60
Joined: Wed Apr 08, 2009 8:57 am
Location: Danville, VA

Re: Configuration files on update. Keep or Replace?

Post by doktordave » Sat Oct 16, 2010 5:44 pm

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.

indaymadel
Level 2
Level 2
Posts: 87
Joined: Thu Sep 30, 2010 8:57 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by indaymadel » Sat Oct 16, 2010 5:55 pm

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.
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.
Get started building backlinks using my free backlinks collection.

Matt3223
Level 1
Level 1
Posts: 40
Joined: Fri Nov 06, 2009 8:10 pm

Re: Configuration files on update. Keep or Replace?

Post by Matt3223 » Sat Oct 16, 2010 6:11 pm

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

User avatar
det4100
Level 4
Level 4
Posts: 225
Joined: Mon Dec 10, 2007 9:51 am
Location: New York

Re: Configuration files on update. Keep or Replace?

Post by det4100 » Sun Oct 17, 2010 8:28 am

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. :D

det4100
det4100

Running Mint Debian

indaymadel
Level 2
Level 2
Posts: 87
Joined: Thu Sep 30, 2010 8:57 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by indaymadel » Sun Oct 17, 2010 9:01 pm

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. :D

det4100
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. :D
Get started building backlinks using my free backlinks collection.

pappfer
Level 2
Level 2
Posts: 72
Joined: Tue Jan 19, 2010 8:35 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by pappfer » Mon Oct 18, 2010 5:26 pm

Could someone post the (original LMDE) content of "/etc/gdm3/greeter.gconf-defaults", please?

indaymadel
Level 2
Level 2
Posts: 87
Joined: Thu Sep 30, 2010 8:57 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by indaymadel » Mon Oct 18, 2010 9:14 pm

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
Get started building backlinks using my free backlinks collection.

pappfer
Level 2
Level 2
Posts: 72
Joined: Tue Jan 19, 2010 8:35 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by pappfer » Tue Oct 19, 2010 4:25 pm

Thank you, indaymadel! ;)

dimbulb1024
Level 1
Level 1
Posts: 8
Joined: Sun Sep 19, 2010 2:47 pm
Location: 3rd rock from the sun

Re: Configuration files on update. Keep or Replace?

Post by dimbulb1024 » Wed Oct 27, 2010 12:17 am

doktordave 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.
And a noobie to LMDE sez ... Ahhh, I just learned something. I like that. Thanks doktordave :D
Now let's see if I can toast my install by playing with those a bit. Hell, my /home is on a separate partition! :shock:
Human beings,
who are almost unique in having the ability to learn from the experience of others,
are also remarkable for their apparent disinclination to do so.
Douglas Adams

User avatar
mads
Level 6
Level 6
Posts: 1298
Joined: Wed Nov 03, 2010 3:44 pm
Contact:

Re: Configuration files on update. Keep or Replace?

Post by mads » Wed Nov 03, 2010 4:51 pm

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.

User avatar
det4100
Level 4
Level 4
Posts: 225
Joined: Mon Dec 10, 2007 9:51 am
Location: New York

Re: Configuration files on update. Keep or Replace?

Post by det4100 » Wed Nov 03, 2010 7:27 pm

Very well said mads :D
det4100

Running Mint Debian

Locked

Return to “LMDE 1 Archive”