summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-04-26 09:20:11 -0300
committervarac <varacanero@zeromail.org>2016-04-26 09:20:11 -0300
commit91b73bfb48717d1a3e1f96fa22ff0cce5e216a53 (patch)
tree4782dec5fd37751ecad9d999dad796988f9b290f
parentdcdafd6c359056d2e8a8265701ac36d898ef385c (diff)
On OS upgrade, use old conffiles
When upgrading to the next debian release, we want config file the were modified manually or touched by the leap_platform to *not* get the newer version the package maintainer ships in the newer version of the package. This is because we stepped into two issues (see below) where the newer, package provided conffile breaks some service. We are aweare of possible issues that we might face where an old config file doesn't work with a newer package, but until we don't step into any of these, this is the better approach. - Resolves: #8042, #8044
-rw-r--r--pages/docs/platform/upgrading/upgrade-0-8.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/docs/platform/upgrading/upgrade-0-8.md b/pages/docs/platform/upgrading/upgrade-0-8.md
index 530d80c..904b240 100644
--- a/pages/docs/platform/upgrading/upgrade-0-8.md
+++ b/pages/docs/platform/upgrading/upgrade-0-8.md
@@ -106,7 +106,7 @@ For each one of your nodes, login to it and do the following process:
export DEBIAN_FRONTEND=noninteractive
apt-get autoremove --yes
apt-get update
- apt-get -y -o DPkg::Options::=--force-confnew dist-upgrade
+ apt-get -y -o DPkg::Options::=--force-confold dist-upgrade
# if either of these return anything, you will need to resolve them before continuing:
dpkg --audit
@@ -132,13 +132,13 @@ For each one of your nodes, login to it and do the following process:
apt-get -o APT::Get::Trivial-Only=true dist-upgrade
# do first stage upgrade
- apt-get -y -o DPkg::Options::=--force-confnew upgrade
+ apt-get -y -o DPkg::Options::=--force-confold upgrade
# repeat the following until it makes no more changes:
- apt-get -y -o DPkg::Options::=--force-confnew dist-upgrade
+ apt-get -y -o DPkg::Options::=--force-confold dist-upgrade
# resolve any apt issues if there are some
- apt-get -f install
+ apt-get -y -o DPkg::Options::=--force-confold -f install
# clean up extra packages
apt-get autoremove --yes