Simply upgrade debian10 to Debian11

888u

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

Debian11 has been out for a long time. Some VPS or server vendors still provide the debian10 system by default. We should keep up with debian and upgrade to the new version as soon as possible. The following is the simplest way to upgrade debian10 to debian11. The specific operations are as follows:

Update the default debian10 system first:

apt update && apt upgrade

Then switch the source of debian10 to the source of debian11, directly copy the following code and press Enter in the SSH client:

cat > /etc/apt/sources.list << EOF

deb https://mirrors.huaweicloud.com/debian bullseye main contrib non-free

deb-src https://mirrors.huaweicloud.com/debian bullseye main contrib non-free

deb https://mirrors.huaweicloud.com/debian-security/ bullseye-security main

deb-src https://mirrors.huaweicloud.com/debian-security/ bullseye-security main

deb https://mirrors.huaweicloud.com/debian bullseye-updates main

deb-src https://mirrors.huaweicloud.com/debian bullseye-updates main

EOF

Continue to upgrade and update next:

apt update && apt full-upgrade

The following operations basically default to yes "Y" and so on...

Restart the operating system if necessary:

reboot

Recommended site search: Ministry of Industry and Information Technology registered website, registered domain name query, Taiwan server rental free agent IP address, no registration, external network IP, online IP check, registered domain name query, ICP quick registration, website registration number query, < /p>

Simply upgrade debian10 to Debian11

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