summaryrefslogtreecommitdiff
path: root/pages/docs/platform/upgrading
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-03-16 11:32:02 -0700
committerelijah <elijah@riseup.net>2016-03-16 11:32:02 -0700
commit8f70d7e2f1bcead158bf5a335ee27d13fa763b09 (patch)
tree38fa24738f90e8c1dfe96f55d8a991c310bab7bc /pages/docs/platform/upgrading
parent479dd784cec6f423feadd1cbc910105c4cd73636 (diff)
updated quick-start and upgrade tutorials
Diffstat (limited to 'pages/docs/platform/upgrading')
-rw-r--r--pages/docs/platform/upgrading/upgrade-0-8.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/pages/docs/platform/upgrading/upgrade-0-8.md b/pages/docs/platform/upgrading/upgrade-0-8.md
index 35a5441..77be20f 100644
--- a/pages/docs/platform/upgrading/upgrade-0-8.md
+++ b/pages/docs/platform/upgrading/upgrade-0-8.md
@@ -53,9 +53,10 @@ There are the [Debian release notes on how to upgrade from wheezy to jessie](htt
script -t 2>~/leap_upgrade-jessiestep.time -a ~/upgrade-jessiestep.script
# ensure you have a good wheezy install:
- apt-get autoremove
+ export DEBIAN_FRONTEND=noninteractive
+ apt-get autoremove --yes
apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get -y -o DPkg::Options::=--force-confold dist-upgrade
+ apt-get -y -o DPkg::Options::=--force-confnew dist-upgrade
# if anything is held, you need to resolve it before continuing:
dpkg --audit
@@ -63,6 +64,7 @@ There are the [Debian release notes on how to upgrade from wheezy to jessie](htt
# switch sources to jessie
sed -i 's/wheezy/jessie/g' /etc/apt/sources.list
+ rm /etc/apt/sources.list.d/*
echo "deb http://deb.leap.se/0.8 jessie main" > /etc/apt/sources.list.d/leap.list
# remove pinnings to wheezy
@@ -77,14 +79,17 @@ There are the [Debian release notes on how to upgrade from wheezy to jessie](htt
apt-get -o APT::Get::Trivial-Only=true dist-upgrade
# do first stage upgrade
- DEBIAN_FRONTEND=noninteractive apt-get -y -o DPkg::Options::=--force-confold upgrade
+ apt-get -y -o DPkg::Options::=--force-confnew upgrade
# repeat dist-upgrade until it makes no more changes:
- DEBIAN_FRONTEND=noninteractive apt-get -y -o DPkg::Options::=--force-confold dist-upgrade
+ apt-get -y -o DPkg::Options::=--force-confnew dist-upgrade
# resolve any apt issues if there are some
apt-get -f install
+ # clean up extra packages
+ apt-get autoremove --yes
+
reboot