Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2016, 04:32 PM   #1
LQ Newbie
Registered: May 2016
Posts: 3

Rep: Reputation: Disabled
Mint | Not sure what to do when prompted to keep or overwrite config files

After doing an apt-get upgrade and all packages are being updated, I am asked to keep or overwrite the config files. I don't know how to answer this question because I don't know what the original config files look like and what's different from the newer ones. When I use other linuxes, they never ask me this question during a global package upgrade. Only mint and other buntus do this.

Help, sign lost :/

Last edited by gitclone; 05-21-2016 at 04:34 PM.
Old 05-21-2016, 04:50 PM   #2
Senior Member
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,158

Rep: Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369
worry less, fun more...

1. There is almost always an option to look at the D/Diff report on the two files. That, if you know what you are looking at, will show you the changes.
2. If you have not custom configured a package, trust the maintainers new version and allow the overwrite. Generally the old config file is saved for reference (as .old or .back or something, I forget: I have not worried about this for a LONG time). This is the correct choice most of the time.
3. If you HAVE custom configured a package, do NOT allow the overwrite. Note down the file name and location, and go look later. The new version will be there renamed to prevent the overwrite, and you can port any improvements into your current config file at your leisure.
Old 05-21-2016, 10:33 PM   #3
LQ Newbie
Registered: May 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Overwrite the newer config files and keep the custom config files. That seems logical. Thank you wpeckham

Old 05-22-2016, 10:06 PM   #4
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,785
Blog Entries: 27

Rep: Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632Reputation: 4632
I keep any config files that I have modified and overwrite the others.
Old 05-23-2016, 08:00 AM   #5
LQ Veteran
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Got backup?
Most of the overwrites happen after installed files have changed and in /etc/ or under.
I usually accept the default answer.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to overwrite existing files by using tar command (Remove extra files) Kalibo Linux - Newbie 9 12-26-2013 01:42 AM
How to uninstall or overwrite Linux Mint, on Sony Vaio, non-functioning optical drive llh867 Linux - Newbie 9 07-09-2010 05:37 PM
Will a 'slackpkg upgrade-all overwrite my wireless config? mutexe Slackware 24 08-31-2009 07:44 AM
how to prevent overwrite particular config file when using rpm --replacefile option amit_pansuria Linux - General 2 07-17-2008 06:56 AM
Prompted to Open/Save php files sharky Linux - Server 5 03-04-2007 03:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration