##Debian内核升级遇到报错:No space left on device!
##解决办法:
1、 删除正在使用的内核及闲置的内核腾出空间:
1)删除 /lib/modules/内核目录 下所有内容:cd /lib/modules/ rm -rf *
2)删除 /var/cache/apt/archives/下与相关的文件
3)查找当前系统种存在的内核,然后执行命令 apt-get remove/purge linux-image-3.2.0-4.amd64 ,删除所有不用的内核
2、 安装新内核:
1)添加sources.list : deb http://ftp.debian.org/debian/ wheezy-backports main
或: deb http://http.debian.net/debian wheezy-backports main
2)执行命令升级内核: apt-get -t wheezy-backports install linux-image-3.16-0.bpo.3-amd64
或: apt-get -t wheezy-backports install linux-image-amd64
3)执行命令更新grub: update-grub2
4)执行命令重启: reboot
转载请注明出处,谢谢!