Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-get fails postinst tasks on upgrade/install #379

Open
saelm95 opened this issue Jul 20, 2018 · 0 comments
Open

apt-get fails postinst tasks on upgrade/install #379

saelm95 opened this issue Jul 20, 2018 · 0 comments

Comments

@saelm95
Copy link

saelm95 commented Jul 20, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant