From 91b73bfb48717d1a3e1f96fa22ff0cce5e216a53 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 26 Apr 2016 09:20:11 -0300 Subject: 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 --- pages/docs/platform/upgrading/upgrade-0-8.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pages/docs/platform') 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 -- cgit v1.2.3