I'm upgrading ubuntu from 13.10 to 14.04, during the upgrade it is asking the following question:
Replace the customized configuration file '/etc/sysctl.conf'?
You will lose any changes made to this configuration file if you
choose to replace it with the newer version.
Difference between the files:
--- /etc/sysctl.conf 2014-04-21 21:38:34.970070205 +0530
+++ /etc/sysctl.conf.dpkg-new 2013-04-01 07:55:31.000000000 +0530
@@ -1,6 +1,6 @@
#
# /etc/sysctl.conf - Configuration file for setting system variables
-# See /etc/sysctl.d/ for additional system variables
+# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#
@@ -58,7 +58,3 @@
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
-# disable ipv6
-net.ipv6.conf.all.disable_ipv6 = 1
-net.ipv6.conf.default.disable_ipv6 = 1
-net.ipv6.conf.lo.disable_ipv6 = 1
I don't understand what this means, I tried googling for an answer but every post has a different file name for the same question and the answers are varying. Should I keep the file or replace it?
During release (or package) upgrades, the package manager usually gives you a few options:
- Keep your version.
- Keep the package maintainer's version.
- Show the difference.
- Do an (experimental) three-way merge.
- Open a shell.
With (1) and (2), no file is discarded. With (1), the package maintainer's version is saved with the extension dpkg-dist
, and with (2), your version is saved with the extension dpkg-old
. You're using (3). I have never used the other two, hopefully someone who has will come along and post an answer.
I personally always choose (1), and then manually merge in the changes (if they're worthwile) after upgrade - though I assume (5) can be used to do this.
Note that this prompt comes up only if the file was modified outside the package management system (that is, by a user, like you). So the changes were presumably made by you for a reason, and usually you'd still want those changes around.
No comments:
Post a Comment