
debian 8平滑升级到debian 9
查看当前Debian版本
lsb_release -a
升级当前版本的软件
upgrade和dist-upgrade的区别是后者可以不依赖某些库的更新
备份并替换 sources.list 源文件
1
2
3
4
atp-get update
apt-get upgrade
apt-get dist-upgrade
cp /etc/apt/sources.list old.sources.list
sed -i 's/jessie/stretch/g' /etc/apt/sources.list
运行这个命令可以将sources.list
里的”jessie”全部替换为”stretch”,
stretch是debian9的代号
再次运行更新升级
1
2
3
apt-get update
apt-get upgrade
apt-get dist-upgrade
重启系统,再次查看版本号
reboot
lsb_release -a
💘 相关文章
- debian 9 安全升级到Debian 10的方法
- 在ubuntu和Debian系统单网卡绑定多个IP v6地址的方法
- debian 9 安裝vestacp 的方法
- Debian/ubuntu system delete docker virtual bridge
- Detailed tutorial for upgrading debian 7 to debian 8 and configuring bbr acceleration.
- Debian系统出现 "gpg: command not found"的解决方法
- debian 10安装MySQL服务器记录
- debian,ubuntu赋予普通用户绑定端口权限的方法
- debian配置redis远程访问的一些坑
- debian /ubuntu系统安装测速软件的方法