Fix "update needs to spend on XM disk total/Boot space ..." Problem system auto-upgrade installs multiple cores and offloads extra cores to get more disk space [email protected]:/home/local# dpkg- Get-selections|grep Linux
System kernel with image www.2cto.com Libselinux1installlinux-firmware installlinux-generic installlinux-headers-3.2.0-23 Installlinux-headers-3.2.0-23-generic installlinux-headers-3.2.0-24 Installlinux-headers-3.2.0-24-generic Installlinux-headers-3.2.0-27 Installlinux-headers-3.2.0-27-generic installlinux-headers-3.2.0-29 Installlinux-headers-3.2.0-29-generic Installlinux-headers-generic Installlinux-image-3.2.0-24-generic Installlinux-image-3.2.0-27-generic installlinux-image-3.2.0-29-generic installlinux-image-generic Install
[Email protected]:/home/local# uname-a//view system currently using kernel Linux local-lenovo-g470 3.2.0-29-generic #46-ubuntu SMP Fri J UL 17:03:23 UTC x86_64 x86_64 x86_64 gnu/linux [email protected]:/home/local# sudo apt-get remove image-3.2.0-24-g Eneric//unload redundant kernel is reading the package list ... Completing the dependency tree that is analyzing the package is reading state information ... Note that, depending on the regular expression, Image-3.2.0-24-generic selected Linux-image-3.2.0-24-generic Note that Linux-ima is selected according to the regular expression image-3.2.0-24-generic Ge-3.2.0-24-generic-pae
The following packages will be "uninstalled": www.2cto.com linux-image-3.2.0-24-generic upgraded 0 packages, installed 0 new packages, uninstalled 1 packages, and 90 packages were not upgraded. 149 MB of space will be vacated after decompression. Do you want to continue? [Y/n]y
(Reading database ... system currently has a total of 251,973 files and directories installed.) Uninstalling 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-GENERICEXAMINING/ETC/KERNEL/POSTRM.D. Run-parts:executing/etc/kernel/postrm.d/initramfs-tools 3.2.0-24-generic/boot/vmlinuz-3.2.0-24-genericupdate-initramfs:deleting/boot/ Initrd.img-3.2.0-24-genericrun-parts:executing/etc/kernel/postrm.d/zz-update-grub 3.2.0-24-generic/boot/ Vmlinuz-3.2.0-24-generic generating grub.cfg ... www.2cto.com found linux Image:/boot/ Vmlinuz-3.2.0-29-genericfound initrd Image:/boot/initrd.img-3.2.0-29-genericfound Linux Image:/boot/ Vmlinuz-3.2.0-27-genericfound initrd Image:/boot/initrd.img-3.2.0-27-genericfound memtest86+ Image:/memtest86+. Binfound Windows 7 (loader) on/dev/sda1found Windows Recovery Environment (loader) on/dev/sda4done[email protected ]:/home/local#
Fix "Update needs to spend space on XM disk total/boot ..." problem