... | ... | @@ -47,7 +47,7 @@ See the "conflicts resolution" section below for how to handle |
|
|
: disable logins &&
|
|
|
touch /etc/nologin &&
|
|
|
: install some dependencies
|
|
|
apt install ttyrec screen debconf-utils apt-show-versions deborphan apt-forktracer &&
|
|
|
apt install ttyrec screen debconf-utils apt-show-versions deborphan &&
|
|
|
: create ttyrec file with adequate permissions &&
|
|
|
touch /var/log/upgrade-bullseye.ttyrec &&
|
|
|
chmod 600 /var/log/upgrade-bullseye.ttyrec &&
|
... | ... | @@ -101,7 +101,7 @@ See the "conflicts resolution" section below for how to handle |
|
|
dpkg -l 'linux-image-*' &&
|
|
|
: look for packages from backports, other suites or archives &&
|
|
|
: if possible, switch to official packages by disabling third-party repositories &&
|
|
|
apt-forktracer | sort &&
|
|
|
dsa-check-packages | tr -d , &&
|
|
|
printf "End of Step 4\a\n"
|
|
|
|
|
|
5. Check free space (see [this guide to free up space][]), disable
|
... | ... | @@ -151,12 +151,11 @@ See the "conflicts resolution" section below for how to handle |
|
|
apt purge $(deborphan --guess-dummy | grep -v python-is-python2)
|
|
|
while deborphan -n | grep -v python-is-python2 | grep -q . ; do apt purge $(deborphan -n | grep -v python-is-python2); done
|
|
|
apt autoremove -y --purge
|
|
|
# review obsolete and odd packages
|
|
|
dsa-check-packages | tr -d ,
|
|
|
apt clean
|
|
|
# review and purge older kernel if the new one boots properly
|
|
|
dpkg -l 'linux-image*'
|
|
|
# review packages that are not in the new distribution
|
|
|
apt-forktracer | sort
|
|
|
printf "End of Step 8\a\n"
|
|
|
shutdown -r +1 "bullseye upgrade step 8: testing reboots one final time"
|
|
|
|
... | ... | |