Upgrade debian 9 to debian 10 in a few simple steps

888u

Last update at :2024-06-01,Edit by888u

When using pacificrack recently, I found that its backend only has debian 9. After the release of debian 10, many new things are very convenient. For Linux versions such as debian\centos, if we do not have special needs, we should try our best. Go for the new. The webmaster is also planning to abandon Ubuntu and return to Debian recently.

No more nonsense:

Update:

apt-get update && apt-get upgrade

Back up a copy:

cp /etc/apt/sources.list /etc/apt/sources.list.orig

Replace all "stretch" in /etc/apt/sources.list with "buster":

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

Update again

apt-get update && apt-get upgrade

Execute upgrade command

apt-get dist-upgrade

Restart after prompt is complete

reboot

Check the current debian version

lsb_release -a

Recommended site searches: free domain name application, cloud server rental, US host ranking, cloud server rental, free static space, foreign free ASP space, domain name space registration, domain name price, domain name server, overseas virtual host,

Upgrade debian 9 to debian 10 in a few simple steps

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码