[Bug 2039468] Re: flash-kernel can't be properly disabled
Juerg Haefliger
2039468 at bugs.launchpad.net
Mon Oct 16 16:16:56 UTC 2023
Processing triggers for linux-image-6.2.0-1016-raspi (6.2.0-1016.18) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.2.0-1016-raspi
flash-kernel: deferring update (trigger activated)
/etc/kernel/postinst.d/zz-flash-kernel:
flash-kernel: deferring update (trigger activated)
Processing triggers for flash-kernel (3.106ubuntu14) ...
Unsupported platform 'none'.
dpkg: error processing package flash-kernel (--configure):
installed flash-kernel package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
flash-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/2039468
Title:
flash-kernel can't be properly disabled
Status in flash-kernel package in Ubuntu:
New
Bug description:
Per the man page:
/etc/flash-kernel/machine
If present this can be used to override the machine autodetection. The contents must be a
string which matches an entry in the database. Or `none' to disable flash-kernel.
However, if that file contains 'none, flash-kernel bombs out with a
non-0 exit status:
$ cat /etc/flash-kernel/machine
none
$ sudo flash-kernel
Unsupported platform 'none'.
$ echo $?
1
If disabled, the exit status should be 0. Otherwise installation of
packages that call flash-kernel in a postinst hook will fail.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2039468/+subscriptions
More information about the foundations-bugs
mailing list