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

Launchpad Bug Tracker 1348315 at bugs.launchpad.net
Sun Jul 12 04:17:36 UTC 2015


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1348315

Title:
  linux-image-extra-3.11.0-18-generic can not be removed

Status in grub2 package in Ubuntu:
  Expired

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/grub2/+bug/1348315/+subscriptions



More information about the foundations-bugs mailing list