Flash-kernel fails while doing apt upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flash-kernel (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
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-
Reproduction rate : 10/10
Reproduction Steps:
Flash the kr07 image on the board. Once linux is up ,run the below commands :
sudo add-apt-repository ppa:xilinx-apps
sudo add-apt-repository ppa:ubuntu-
sudo apt update
sudo apt upgrade
description: | updated |
Thank you for reporting the issue with upgrading.
According to the log the problem was that a post installation trigger for flash-kernel was processed before processing the linux-image trigger.