Flash-kernel fails while doing apt upgrade

Bug #2024878 reported by snehitha
10
This bug affects 2 people
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/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.

Image : ubuntu kr07 image - iot-limerick-kria-classic-desktop-2204-x07-20230302-63.img
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-xilinx/sdk
sudo apt update
sudo apt upgrade

Revision history for this message
snehitha (snehithajada) wrote :
snehitha (snehithajada)
description: updated
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

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.

Revision history for this message
Hon Ming Hui (hm-hui) wrote :

Note that there is another bug which is under discussion on the fix. https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/2007827

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flash-kernel (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.