如何从Debian 9 Stretch升级到Debian10 Buster


Let's first fully upgrade our current Debian Stretch system:

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

Update Package Repository to Debian Buster

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

Your /etc/apt/sources.list should look similar to the one below:

deb https://mirrors.tuna.tsinghua.edu.cn/debian buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free

  

Once the above /etc/apt/sources.list file edit is completed, use apt-get command to update packages index:

apt-get update

Upgrade to Debian Buster

The following below commands will upgrade your Debian 9 Stretch to Debian 10 Buster release.

# apt-get upgrade
# apt-get dist-upgrade

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM