[Bug 1348315] Re: linux-image-extra-3.11.0-18-generic can not be removed
Daniel Llewellyn
daniel at bowlhat.net
Tue Sep 16 12:52:38 UTC 2014
Thank you for taking the time to report this bug and helping to make
Ubuntu better. This bug did not have a package associated with it, which
is important for ensuring that it gets looked at by the proper
developers. You can learn more about finding the right package at
https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this
bug as a bug in grub.
When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://help.ubuntu.com/community/ReportingBugs.
** Package changed: ubuntu => grub (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/1348315
Title:
linux-image-extra-3.11.0-18-generic can not be removed
Status in “grub” package in Ubuntu:
New
Bug description:
i got this error when try to do and command:
The following packages will be REMOVED:
linux-image-3.11.0-18-generic linux-image-3.13.0-24-generic
linux-image-extra-3.11.0-18-generic linux-image-extra-3.13.0-24-generic
0 upgraded, 0 newly installed, 4 to remove and 12 not upgraded.
4 not fully installed or removed.
After this operation, 377 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 285665 files and directories currently installed.)
Removing linux-image-extra-3.11.0-18-generic (3.11.0-18.32) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
update-initramfs: Deleting /boot/initrd.img-3.11.0-18-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
Searching for GRUB installation directory ... found: /boot/grub
awk: fatal: can't stat fd 7 (Invalid argument)
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
awk: fatal: can't stat fd 7 (Invalid argument)
awk: fatal: can't stat fd 7 (Invalid argument)
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.11.0-18-generic.postrm line 328.
dpkg: error processing package linux-image-extra-3.11.0-18-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-3.11.0-18-generic (3.11.0-18.32) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
update-initramfs: Deleting /boot/initrd.img-3.11.0-18-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.11.0-18-generic /boot/vmlinuz-3.11.0-18-generic
Searching for GRUB installation directory ... found: /boot/grub
awk: fatal: can't stat fd 7 (Invalid argument)
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
awk: fatal: can't stat fd 7 (Invalid argument)
awk: fatal: can't stat fd 7 (Invalid argument)
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.11.0-18-generic.postrm line 328.
dpkg: error processing package linux-image-3.11.0-18-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-extra-3.13.0-24-generic (3.13.0-24.47) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
Searching for GRUB installation directory ... found: /boot/grub
awk: fatal: can't stat fd 7 (Invalid argument)
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
awk: fatal: can't stat fd 7 (Invalid argument)
awk: fatal: can't stat fd 7 (Invalid argument)
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.13.0-24-generic.postrm line 328.
dpkg: error processing package linux-image-extra-3.13.0-24-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Removing linux-image-3.13.0-24-generic (3.13.0-24.47) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-24-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-24-generic /boot/vmlinuz-3.13.0-24-generic
Searching for GRUB installation directory ... found: /boot/grub
awk: fatal: can't stat fd 7 (Invalid argument)
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
awk: fatal: can't stat fd 7 (Invalid argument)
awk: fatal: can't stat fd 7 (Invalid argument)
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.13.0-24-generic.postrm line 328.
dpkg: error processing package linux-image-3.13.0-24-generic (--remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-extra-3.11.0-18-generic
linux-image-3.11.0-18-generic
linux-image-extra-3.13.0-24-generic
linux-image-3.13.0-24-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
i already tried :
apt-get autoclean
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get -f install
dpkg --configure -a
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1348315/+subscriptions
More information about the foundations-bugs
mailing list