sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
dpkg --get-selections|grep linux//寻找多余的内核包
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P//清理配置
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
dpkg --get-selections|grep linux//寻找多余的内核包
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P//清理配置