這是本文件的舊版!


Ubuntu

# check current running linux kernel version
uname -a
# remove old kernel at /boot
# fix broken package
apt-get -f install
# clean up
apt-get autoremove
vi /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Remove-Unused-Dependencies "true";