LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-09-2013, 09:15 PM   #1
codergeek
Member
 
Registered: Dec 2012
Posts: 52

Rep: Reputation: 7
keep or Replace config files when upgrading packages


Hello,

I am trying out linux Mint 14 Nadia in a VM. I decided to upgrade all packages. Once all packages got downloaded, it starts to install them.

During this process, I get prompted about keeping or replacing the package's new configuration file. Not sure of what to do, so I clicked on Replace on all prompts.

Is this the correct choice or should I click on keep in the future?

Last edited by codergeek; 01-09-2013 at 09:18 PM.
 
Old 01-09-2013, 09:34 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
On packages where you have a custom configuration you should use the keep option and check manually which parts (if any) of the configuration files have to be changed. For packages which use the standard configuration the replace option is OK.
 
Old 01-09-2013, 09:44 PM   #3
codergeek
Member
 
Registered: Dec 2012
Posts: 52

Original Poster
Rep: Reputation: 7
Thanks TobiSGD for the clarification.

+1
 
Old 01-10-2013, 04:04 AM   #4
xenopeek
LQ Newbie
 
Registered: Dec 2012
Posts: 19

Rep: Reputation: 3
If there were any upgrades to /etc/issue, /etc/issue.net or /etc/lsb-release, you will want to check those are still saying you have Linux Mint. May cause problems with some programs otherwise.

/etc/issue should be:
Code:
Linux Mint 14 Nadia \n \l
/etc/issue.net should be (without a trailing newline):
Code:
Linux Mint 14 Nadia
/etc/lsb-release should be:
Code:
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
 
Old 01-10-2013, 03:30 PM   #5
codergeek
Member
 
Registered: Dec 2012
Posts: 52

Original Poster
Rep: Reputation: 7
@ xenopeek

Hi,

I did clicked on Replace on those files you listed above. The first two files have the contents you listed for those files. However, /etc/lsb-release had different lines. Here is the contents of that file:

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=13
DISTRIB_CODENAME=maya
DISTRIB_DESCRIPTION="Linux Mint 13 Maya"

So, I edited to match the contents of what you listed above. Thanks for the info

+1

Last edited by codergeek; 01-10-2013 at 03:31 PM.
 
  


Reply


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
RPM spec file to replace existing config files. wills Linux - Server 2 09-29-2011 04:08 AM
Will upgrading replace the kernel? fbp90crx Linux - General 9 11-08-2009 04:12 PM
how to show up all available packages in system-config-packages (RHEL 5) sean_zhang Linux - Newbie 1 03-10-2008 05:05 AM
command redhat-config-packages --tree=/mnt/cdrom no more on RHEL5, what replace it? hocheetiong Linux - Newbie 2 12-30-2007 10:07 AM
replace all i386 packages with amd64? verbose Debian 1 12-10-2006 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 03:40 PM.

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