I created an upgrade script based on something I found a few years ago that indicated the steps to follow to upgrade from one version of Debian to another (e.g. Buster 10 to Bullseye 11). As I am going to need to run this script at some point (I am still running Buster/10 on my systems), I thought I'd ask the Debian user brain trust to comment/critique the scripted steps. So here they are:

############### Start
apt -y install aptitude
aptitude search \'~o\'
apt update
apt -y upgrade
apt -y full-upgrade
dpkg -C
apt-mark showhold
#
Update sources.list
#
Update files in sources.list.d
(I don't even have this part started yet....didn't know I needed it the last time I ran it)
#
apt-get check
apt update
apt list --upgradable
apt-get check
apt -y upgrade
apt -y full-upgrade
aptitude search \'~o\'
############### End

Thoughts/critique/criticism/flames/etc

--
Regards,

John Boxall

Reply via email to