LinuxQuestions.org
Help answer threads with 0 replies.
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, 10: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 10:18 PM.
 
Old 01-09-2013, 10:34 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

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


All times are GMT -5. The time now is 08:18 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration