解决更新需要花去 x M 磁盘上总计 /boot 的空间。请在 磁盘上流出 /boot 空间。sudo apt-get clean
2012-09-22 11:08
288 查看
系统自动升级会安装多个内核,卸载多余的内核可以获得更多磁盘空间
root@local-Lenovo-G470:/home/local# dpkg --get-selections|grep linux //带有image的为系统内核
libselinux1
install
linux-firmware install
linux-generic install
linux-headers-3.2.0-23 install
linux-headers-3.2.0-23-generic install
linux-headers-3.2.0-24 install
linux-headers-3.2.0-24-generic install
linux-headers-3.2.0-27 install
linux-headers-3.2.0-27-generic install
linux-headers-3.2.0-29 install
linux-headers-3.2.0-29-generic install
linux-headers-generic install
linux-image-3.2.0-24-generic install
linux-image-3.2.0-27-generic install
linux-image-3.2.0-29-generic install
linux-image-generic install
linux-libc-dev install
linux-sound-base install
pptp-linux install
syslinux install
syslinux-common install
syslinux-legacy install
util-linux
install
root@local-Lenovo-G470:/home/local# uname -a //查看系统当前使用内核
Linux local-Lenovo-G470 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
root@local-Lenovo-G470:/home/local# sudo apt-get remove image-3.2.0-24-generic //卸载多余内核
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
注意,根据正则表达式 image-3.2.0-24-generic 选中了 linux-image-3.2.0-24-generic
注意,根据正则表达式 image-3.2.0-24-generic 选中了 linux-image-3.2.0-24-generic-pae
下列软件包将被【卸载】:
linux-image-3.2.0-24-generic
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 90 个软件包未被升级。
解压缩后将会空出 149 MB 的空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前共安装有 251973 个文件和目录。)
正在卸载 linux-image-3.2.0-24-generic ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-27-generic
Found initrd image: /boot/initrd.img-3.2.0-27-generic
Found memtest86+ image: /memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda4
done
root@local-Lenovo-G470:/home/local#
root@local-Lenovo-G470:/home/local# dpkg --get-selections|grep linux //带有image的为系统内核
libselinux1
install
linux-firmware install
linux-generic install
linux-headers-3.2.0-23 install
linux-headers-3.2.0-23-generic install
linux-headers-3.2.0-24 install
linux-headers-3.2.0-24-generic install
linux-headers-3.2.0-27 install
linux-headers-3.2.0-27-generic install
linux-headers-3.2.0-29 install
linux-headers-3.2.0-29-generic install
linux-headers-generic install
linux-image-3.2.0-24-generic install
linux-image-3.2.0-27-generic install
linux-image-3.2.0-29-generic install
linux-image-generic install
linux-libc-dev install
linux-sound-base install
pptp-linux install
syslinux install
syslinux-common install
syslinux-legacy install
util-linux
install
root@local-Lenovo-G470:/home/local# uname -a //查看系统当前使用内核
Linux local-Lenovo-G470 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
root@local-Lenovo-G470:/home/local# sudo apt-get remove image-3.2.0-24-generic //卸载多余内核
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
注意,根据正则表达式 image-3.2.0-24-generic 选中了 linux-image-3.2.0-24-generic
注意,根据正则表达式 image-3.2.0-24-generic 选中了 linux-image-3.2.0-24-generic-pae
下列软件包将被【卸载】:
linux-image-3.2.0-24-generic
升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 90 个软件包未被升级。
解压缩后将会空出 149 MB 的空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前共安装有 251973 个文件和目录。)
正在卸载 linux-image-3.2.0-24-generic ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-27-generic
Found initrd image: /boot/initrd.img-3.2.0-27-generic
Found memtest86+ image: /memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda4
done
root@local-Lenovo-G470:/home/local#
相关文章推荐
- 这个更新需要花去 50.6 M 磁盘上总计 /boot 的空间。请在 7737k 磁盘上留出 /boot 空间。清空您的回收站和临时文件,用“sudo apt-get clean
- 这个更新需要花去 50.6 M 磁盘上总计 /boot 的空间。请在 7737k 磁盘上留出 /boot 空间。清空您的回收站和临时文件,用“sudo apt-get clean
- 这个更新需要花去 50 M 磁盘上总计 /boot 的空间。请在 77k 磁盘上留出 /boot 空间。清空您的回收站和临时文件,用“sudo apt-get clean
- 磁盘空间不足:这个更新需要花去 71.4 M 磁盘上总计 /boot 的空间的解决办法
- 解决"更新需要花去xM磁盘上总计/boot的空间..."的问题
- linux 这个更新需要花去 118 M 磁盘上总计 /boot 的空间。请在 19.4 M 磁盘上留出 /boot 空间。
- 解决“磁盘空间不足 磁盘上总计 /boot 的空间”问题
- 磁盘空间不足:这个更新需要花去71.6M磁盘上总计/boot的空间……
- ubuntu解决“磁盘空间不足 磁盘上总计 /boot 的空间”问题
- ubuntu 16.04LTS 下更新时提示/boot“磁盘空间不足”
- sudo apt-get install openssh-server 需要安装 sudo apt-get update 404错误解决办法 The authenticity of
- Ubuntu14.04更新软件时出现/boot空间不足的解决方法
- ubuntu 16.04LTS 下更新时提示/boot“磁盘空间不足”
- sudo apt-get install openssh-server时提示需要安装1:6.6p1-2ubuntu1的解决办法(图文详解)
- Ubuntu11.04 sudo apt-get install flex无法更新的问题解决方法
- ubuntu下解决因为/boot磁盘空间不足导致无法更新
- 成功解决了sudo apt-get update 无法更新源的问题 ,Hash与校验不符,
- sudo apt-get installl XXX 需要依赖关系的解决。
- [转]Linux df 命令不更新磁盘数据空间使用情况的解决办法
- Ubuntu 14.10 sudo apt-get update 出错的一种可能解决方法