kernel-tools icon indicating copy to clipboard operation
kernel-tools copied to clipboard

apt-get fails postinst tasks on upgrade/install

Open saelm95 opened this issue 7 years ago • 0 comments

Hi,

Whenever I try to do an apt upgrade or install, it goes into a postinst error while trying to upgrade the kernel, even though I don't understand why it would try to do that, since Scaleway staff told me that the kernel can't be upgraded. I have tried this on both Bionic Beaver (18.04) and Xenial Xerxus (16.04), both producing the same result.

The part it shows me when updating (apt -y dist-upgrade): Processing triggers for initramfs-tools (0.130ubuntu3.1) ... update-initramfs: Generating /boot/initrd.img-4.15.0-23-generic Unsupported platform. run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Processing triggers for systemd (237-3ubuntu10.2) ... Processing triggers for ureadahead (0.100.0-20) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) root@scw-3dc68f:~# update-initramfs: Generating /boot/initrd.img-4.15.0-23-generic installed initramfs-tools package post-installation script subprocess returned error exit status 1 Processing triggers for systemd (237-3ubuntu10.2) ... Processing triggers for ureadahead (0.100.0-20) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1)

Could it be fixed to where it won't try to upgrade the kernel?

saelm95 avatar Jul 20 '18 14:07 saelm95