1

When I try to upgrade via terminal using sudo apt-get upgrade this error appears:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'linux-image-3.13.0-27-generic' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-3.13.0-37-generic (3.13.0-37.64) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled 
(3.13.0-37.64 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(3.13.0-37.64 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-37-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.13.0-37-generic /boot/vmlinuz-3.13.0-37-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.13.0-37-generic...
P: Installing debian theme...cp: cannot stat ‘/usr/share/syslinux/themes/debian-wheezy/extlinux/memtest.bin’: No such file or directory
run-parts: /etc/kernel/postinst.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.13.0-37-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-37-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.13.0-37-generic:
 linux-image-extra-3.13.0-37-generic depends on linux-image-3.13.0-37-generic; however:
  Package linux-image-3.13.0-37-generic is not configured yet.

dpkg: error processing package linux-image-extra-3.13.0-37-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-3.13.0-37-generic; however:
  Package linux-image-3.13.0-37-generic is not configured yet.
 linux-image-generic depends on linux-image-extra-3.13.0-37-generic; however:
  Package linux-image-extra-3.13.0-37-generic is not configured yet.

dpkg: error processing package linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.13.0.37.44); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing package linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux:
 linux depends on linux-generic; however:
  Package linux-generic is not configured yet.

dpkg: error processing package linux (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              E: Sub-process /usr/bin/dpkg returned an error code (1)

To solve the problem I tried

This is my /etc/grub.d/00_header content.

What should I do?

  • Have you tried sudo apt-get purge extlinux yet? – Nattgew Oct 14 '14 at 19:38
1

The problem was solved by:

apt-get install memtest86+

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.