Wind River Support Network

HomeDefectsLIN1021-2360
Fixed

LIN1021-2360 : Postinstall scriptlets of ['debianutils'] have failed

Created: Jan 8, 2022    Updated: Jan 25, 2022
Resolved Date: Jan 25, 2022
Found In Version: 10.21.20.8
Fix Version: 10.21.20.9
Severity: Severe
Applicable for: Wind River Linux LTS 21
Component/s: Build & Config

Description

echo 'IMAGE_INSTALL_append = " debianutils grubby"' >> conf/local.conf

$ bitbake wrlinux-image-std 
...
ERROR: Logfile of failure stored in: /mnt/sdb1data/JBT_LTS/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-std/1.0-r5/temp/log.do_rootfs.1026381
ERROR: Task (/mnt/sdb1data/JBT_LTS/layers/wrlinux/wrlinux-distro/recipes-base/images/wrlinux-image-std.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 9732 tasks of which 7104 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 79 seconds
...

Both of grubby and debianutils provides installkernel,
use update-alternative to resolve the conflict

Workaround

None.

Steps to Reproduce

Build project using attached script, local.conf, and bz2 layer.

bitbake wrlinux-image-std
Live chat
Online