sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-4.15.0-91-generic (4.15.0-91.92) ...
Processing triggers for linux-image-4.15.0-91-generic (4.15.0-91.92) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 4.15.0-91-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-91-generic
/usr/share/initramfs-tools/hooks/amd64_microcode: 106: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
/usr/share/initramfs-tools/hooks/amd64_microcode: 108: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
E: amd64-microcode: failed to create or prepend the early initramfs to the initramfs
I: The initramfs will attempt to resume from /dev/zram7
I: (UUID=bcbd72b9-6f5b-48b1-84e4-669dd5486b40)
I: Set the RESUME variable to override this.
/usr/sbin/mkinitramfs: 8: /usr/sbin/mkinitramfs: cpio: Exec format error
E: mkinitramfs failure find 141 cpio 2 gzip 0
update-initramfs: failed for /boot/initrd.img-4.15.0-91-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-91-generic (--configure):
installed linux-image-4.15.0-91-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-91-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
, а вот еще один вывод
sudo dpkg --configure -a
Setting up linux-image-4.15.0-91-generic (4.15.0-91.92) ...
Processing triggers for linux-image-4.15.0-91-generic (4.15.0-91.92) ...
/etc/kernel/postinst.d/dkms:
* dkms: running auto installation service for kernel 4.15.0-91-generic
...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-91-generic
/usr/share/initramfs-tools/hooks/amd64_microcode: 106: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
/usr/share/initramfs-tools/hooks/amd64_microcode: 108: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
E: amd64-microcode: failed to create or prepend the early initramfs to the initramfs
I: The initramfs will attempt to resume from /dev/zram7
I: (UUID=bcbd72b9-6f5b-48b1-84e4-669dd5486b40)
I: Set the RESUME variable to override this.
/usr/sbin/mkinitramfs: 8: /usr/sbin/mkinitramfs: cpio: Exec format error
E: mkinitramfs failure find 141 cpio 2 gzip 0
update-initramfs: failed for /boot/initrd.img-4.15.0-91-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.15.0-91-generic (--configure):
installed linux-image-4.15.0-91-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-4.15.0-91-generic
и еще один
sudo update-initramfs -c -k 4.15.0-88-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-88-generic
/usr/share/initramfs-tools/hooks/amd64_microcode: 106: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
/usr/share/initramfs-tools/hooks/amd64_microcode: 108: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
E: amd64-microcode: failed to create or prepend the early initramfs to the initramfs
I: The initramfs will attempt to resume from /dev/zram7
I: (UUID=bcbd72b9-6f5b-48b1-84e4-669dd5486b40)
I: Set the RESUME variable to override this.
/usr/sbin/mkinitramfs: 8: /usr/sbin/mkinitramfs: cpio: Exec format error
E: mkinitramfs failure find 141 cpio 2 gzip 0
update-initramfs: failed for /boot/initrd.img-4.15.0-88-generic with 1.
, может кто-нибудь помочь
отредактировать: после установки переменной RESUME в значение none
sudo update-initramfs -c -k 4.15.0-88-generic
update-initramfs: Generating /boot/initrd.img-4.15.0-88-generic
/usr/share/initramfs-tools/hooks/amd64_microcode: 106: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
/usr/share/initramfs-tools/hooks/amd64_microcode: 108: /usr/share/initramfs-tools/hooks/amd64_microcode: cpio: Exec format error
E: amd64-microcode: failed to create or prepend the early initramfs to the initramfs
/usr/sbin/mkinitramfs: 8: /usr/sbin/mkinitramfs: cpio: Exec format error
E: mkinitramfs failure find 141 cpio 2 gzip 0
update-initramfs: failed for /boot/initrd.img-4.15.0-88-generic with 1.
я думаю, что проблема была с cpio пакетом после попытки
sudo apt-get install --reinstall cpio gzip initramfs-tools initramfs-tools-core
это работало :D Я попытался переустановить initramfs-tools
initramfs-tools-core
прежде. и gzip
хорошо работал так, я думаю, что это был cpio потому что cpio --version
давал странный материал прежде, чем переустановить его
Спасибо за Terrance