[Bug 1348315] [NEW] linux-image-extra-3.11.0-18-generic can not be removed

Launchpad Bug Tracker 1348315 at bugs.launchpad.net
Tue Sep 16 12:52:41 UTC 2014


You have been subscribed to a public bug:

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

** Affects: grub (Ubuntu)
     Importance: Undecided
         Status: New

-- 
linux-image-extra-3.11.0-18-generic can not be removed
https://bugs.launchpad.net/bugs/1348315
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub in Ubuntu.



More information about the foundations-bugs mailing list