1、建立软件包索引:

sudo apt update

2、安装更新:

sudo apt upgrade

3、删除过时软件包:

sudo apt autoremove

4、清除缓存:

sudo apt clean

定期更新安全补丁,可增强系统抗黑客攻击能力,修复前建议先备份快照。