Upgrade debian 9 to 10


All process are same as upgrade 8 to 9

Update and upgrade first

apt-get update
apt-get upgrade

Remove the unused

apt-get autoremove

Run the dist upgrade

apt-get dist-upgrade

check current release infomration

lsb_release -a

Review the sources.list

cat /etc/apt/sources.list

Modify the sources.list to debian 10 source

sed -i 's/stretch/buster/g' /etc/apt/sources.list

Update current source repository

apt-get update

Check how many space should be used

apt-get -o APT::Get::Trivial-Only=true dist-upgrade

Check current space

df -H

All fine, then upgrade it

apt-get upgrade

Run the dist upgrade again

apt-get dist-upgrade

Remove the unused

apt-get autoremove

Check the latest version

lsb_release -a

Check the kernel version

uname -mrs

Install the neofetch to show the pretty system information

apt-get install neofetch

Run the command

neofetch