Impact :
while doing sudo apt upgrade for the first time , it exits at flash-kernel stage with below errors :
flash-kernel: deferring update (trigger activated)
/etc/kernel/postinst.d/zz-flash-kernel:
flash-kernel: deferring update (trigger activated)
Errors were encountered while processing:
flash-kernel
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
If we upgrade again , then upgrade is successful .
Attaching the log.
Impact :
while doing sudo apt upgrade for the first time , it exits at flash-kernel stage with below errors :
flash-kernel: deferring update (trigger activated) postinst. d/zz-flash- kernel:
/etc/kernel/
flash-kernel: deferring update (trigger activated)
Errors were encountered while processing:
flash-kernel
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
If we upgrade again , then upgrade is successful .
Attaching the log.
Image : ubuntu kr07 image - iot-limerick- kria-classic- desktop- 2204-x07- 20230302- 63.img
Reproduction rate : 10/10