{{lastupdated_at}} by {{lastupdated_by}} {{>toc}} h1. Debian 9 to 10 h2. Update sources list check which sources exist that point to stretch
cd /etc/apt
grep -nr stretch .
Edit the main list, and any others that come up
vim /etc/apt/sources.list
:%s/stretch/buster/g
h2. Upgrade the system h3. Check for Necessary Disk Space
apt-get -o APT::Get::Trivial-Only=true dist-upgrade
h3. Update the sources
apt-get update
h3. Minimal Upgrade
 apt-get upgrade
* if it asks whether to change /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg, say yes h3. Full Upgrade
apt-get dist-upgrade
h3. Upgrade MySQL databases (if MySQL/MariaDB installed)
mysql_upgrade
h2. Common problems h3. borg * Changes needed to the borg backupninja jobs #48568-1 ** need to add @encryption = none@ just above the passphrase ** change the path to the directory to be the complete full path, not use the tilde for home, and must start with a slash