主要还是各种环境, 数据库, 开发语言, 用户的.bashrc, .profile, .conf, .cnf配置文件,等等,还有一些alias, 以及重要的数据备份。
apt-get update
apt-get upgrade # 首先最小化更新
apt-get dist-upgrade # 然后完全更新
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
apt-get update
apt-get upgrade
注意:在此步骤中,将询问是否要在升级包期间重新启动服务而不询问。如果要手动重新启动服务,请选择否。
apt-get dist-upgrade
apt-get autoremove
apt-get clean
reboot
lsb_release -a
原文:https://www.cnblogs.com/varden/p/13952015.html