Skip to content
Snippets Groups Projects
Commit 9c81ab64 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

upgrade checklist: ignore errors on a command that rarely works, and disable...

upgrade checklist:  ignore errors on a command that rarely works, and disable puppet when disabling the modules timer
parent 2c0f5eef
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ process.
3. Enable module loading (for ferm) and test reboots:
systemctl disable modules_disabled.timer &&
puppet agent --disable "running major upgrade" &&
shutdown -r +1 "rebooting with module loading enabled"
export LC_ALL=C.UTF-8 &&
......@@ -44,7 +45,6 @@ process.
4. Perform any pending upgrade and clear out old pins:
puppet agent --disable "running major upgrade" &&
: Check for pinned, on hold, packages, and possibly disable &&
rm -f /etc/apt/preferences /etc/apt/preferences.d/* &&
rm -f /etc/apt/sources.list.d/testing.list &&
......@@ -62,7 +62,7 @@ process.
download packages:
sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* &&
apt update && apt -o APT::Get::Trivial-Only=true dist-upgrade &&
(apt update && apt -o APT::Get::Trivial-Only=true dist-upgrade || true ) &&
df -h &&
apt -y -d upgrade &&
apt -y -d dist-upgrade &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment