LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   keep or Replace config files when upgrading packages (https://www.linuxquestions.org/questions/linux-mint-84/keep-or-replace-config-files-when-upgrading-packages-4175444897/)

codergeek 01-09-2013 09:15 PM

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?

TobiSGD 01-09-2013 09:34 PM

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.

codergeek 01-09-2013 09:44 PM

Thanks TobiSGD for the clarification.

+1

xenopeek 01-10-2013 04:04 AM

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"


codergeek 01-10-2013 03:30 PM

@ 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


All times are GMT -5. The time now is 10:39 PM.