Verified Commit b0b8fc04 authored by anarcat's avatar anarcat
Browse files

show disk usage at the bottom of the apt download

That df output can zip by really fast on a fast uplink, and is
therefore lost in the noise. While we can scrollback to see it, we
need to know about it.

We also just remove that confusing "-o APT::Get::Trivial-Only=true"
blob. It's unclear what it does from the outside. It was originally
taken from the official upgrade procedure as a mechanism to show how
much disk would be used by the upgrade, but the download steps we use
already show that information anyways, so it's actually a duplicate.
parent 95b89534
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -98,11 +98,10 @@ connection.
        sed -i 's#buster/updates#bullseye-security#' $(ls /etc/apt/sources.list /etc/apt/sources.list.d/*) &&
        sed -i 's/buster/bullseye/g' $(ls /etc/apt/sources.list /etc/apt/sources.list.d/*) &&
        apt update &&
        ( apt -o APT::Get::Trivial-Only=true dist-upgrade || true ) &&
        df -h &&
        apt -y -d full-upgrade &&
        apt -y -d upgrade &&
        apt -y -d dist-upgrade &&
        df -h &&
        printf "End of Step 5\a\n"

 6. Actual upgrade run: