debian 更新系统&卸载多余内核
更新系统
apt update -y
apt full-upgrade -y清理未使用的依赖包
apt autoremove -y
apt autoclean查看当前系统所有内核:
dpkg -l|grep linux-image | awk '{print $2}'卸载/删除多余内核:
apt-get purge 内核名称 -y更新 grub 系统引导文件
update-grub 更新系统
apt update -y
apt full-upgrade -y清理未使用的依赖包
apt autoremove -y
apt autoclean查看当前系统所有内核:
dpkg -l|grep linux-image | awk '{print $2}'卸载/删除多余内核:
apt-get purge 内核名称 -y更新 grub 系统引导文件
update-grub