Upgrade

From The World according to Vissie
Jump to navigation Jump to search

Source

https://www.claudiokuenzler.com/blog/910/update-debian-jessie-stretch-zoneminder-1.29-1.30-1.32

Jessie to Stretch

mv /etc/apt/sources.list.d/backports.list{,.disabled}
apt-get update
cp /etc/apt/sources.list{,.jessie}
sed -i "s/jessie/stretch/g" /etc/apt/sources.list
apt-get dist-upgrade
reboot

After the reboot, Debian is now running with the Stretch release.

cat /etc/*release*

Stretch to Buster

sudo mv /etc/apt/sources.list.d/backports.list{,.disabled}
sudo apt-get update
sudo cp /etc/apt/sources.list{,.stretch}
sudo sed -i "s/stretch/buster/g" /etc/apt/sources.list
sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

After the reboot, Debian is now running with the Stretch release.

cat /etc/*release*