web-dev-qa-db-ja.com

「パッケージlinux-image-genericはまだ構成されていません。」エラー

Sudo apt-get upgradeを使用してターミナル経由でアップグレードしようとすると、次のエラーが表示されます。

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)

私が試した問題を解決するために

これは私の / etc/grub.d/00_header contentです。

私は何をすべきか?

1
Arash Mousavi

問題は次の方法で解決されました。

apt-get install memtest86+
1
Arash Mousavi