查看: 100|回覆: 0

[Debian] 如何从Debian 9 Stretch升级到Debian10 Buster

[複製鏈接]

3

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2012-6-16
發表於 2019-5-21 17:33:00 | 顯示全部樓層 |閲讀模式

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

  



来源:https://www.cnblogs.com/conpi/p/10901214.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部