with snapd 2.56, refreshing pi-kernel fails
Bug #1978127 reported by
Paul Larson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Committed
|
Critical
|
Alfonso Sanchez-Beato |
Bug Description
After refreshing to snapd 2.56, I get this failure when trying to refresh pi-kernel:
2022-06-
I can reproduce this even when refreshing to the stable pi-kernel by installing the uc18 image and letting it do an auto-refresh, since snapd gets refreshed first. So far, I have not been able to reproduce this on uc20, so it could be that only uc18 is affected.
If I revert snapd then try to refresh the kernel again, it works fine.
Changed in snapd: | |
importance: | Undecided → High |
importance: | High → Critical |
Changed in snapd: | |
status: | New → In Progress |
assignee: | nobody → Alfonso Sanchez-Beato (alfonsosanchezbeato) |
Changed in snapd: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
ubuntu@localhost:~$ snap list 50~18.04. 1 362 18-pi/stable canonical✓ kernel
Name Version Rev Tracking Publisher Notes
core18 20220428 2406 latest/stable canonical✓ base
pi 18-1 116 18-pi/stable canonical✓ gadget
pi-kernel 5.4.0-1046.
snapd 2.56 16019 latest/stable canonical✓ snapd
ubuntu@localhost:~$ snap changes
ID Status Spawn Ready Summary
1 Done today at 16:27 UTC today at 16:27 UTC Initialize system state
2 Done today at 16:27 UTC today at 16:28 UTC Initialize device
3 Error today at 16:28 UTC today at 16:32 UTC Auto-refresh 4 snaps
4 Done today at 16:28 UTC today at 16:28 UTC Refresh all snaps: no updates
5 Error today at 16:32 UTC today at 16:33 UTC Refresh snap "pi-kernel"
ubuntu@localhost:~$ snap change 5
Status Spawn Ready Summary
Done today at 16:32 UTC today at 16:33 UTC Ensure prerequisites for "pi-kernel" are available
Undone today at 16:32 UTC today at 16:33 UTC Download snap "pi-kernel" (475) from channel "18-pi/stable"
Done today at 16:32 UTC today at 16:32 UTC Fetch and check assertions for snap "pi-kernel" (475)
Undone today at 16:32 UTC today at 16:32 UTC Mount snap "pi-kernel" (475)
Undone today at 16:32 UTC today at 16:32 UTC Run pre-refresh hook of "pi-kernel" snap if present
Undone today at 16:32 UTC today at 16:32 UTC Stop snap "pi-kernel" services
Undone today at 16:32 UTC today at 16:32 UTC Remove aliases for snap "pi-kernel"
Undone today at 16:32 UTC today at 16:32 UTC Make current revision for snap "pi-kernel" unavailable
Error today at 16:32 UTC today at 16:32 UTC Update assets from kernel "pi-kernel" (475)
Hold today at 16:32 UTC today at 16:32 UTC Copy snap "pi-kernel" data
Hold today at 16:32 UTC today at 16:32 UTC Setup snap "pi-kernel" (475) security profiles
Hold today at 16:32 UTC today at 16:32 UTC Make snap "pi-kernel" (475) available to the system
Hold today at 16:32 UTC today at 16:32 UTC Automatically connect eligible plugs and slots of snap "pi-kernel"
Hold today at 16:32 UTC today at 16:32 UTC Set automatic aliases for snap "pi-kernel"
Hold today at 16:32 UTC today at 16:32 UTC Setup snap "pi-kernel" aliases
Hold today at 16:32 UTC today at 16:32 UTC Run post-refresh hook of "pi-kernel" snap if present
Hold today at 16:32 UTC today at 16:32 UTC Start snap "pi-kernel" (475) services
Hold today at 16:32 UTC today at 16:32 UTC Clean up "pi-kernel" (475) install
Hold today at 16:32 UTC today at 16:32 UTC Run configure hook of "pi-kernel" snap if present
Hold today at 16:32 UTC today at 16:32 UTC Run health check of "pi-kernel" snap
Done today at 16:32 UTC today at 16:33 UTC Handling re-refresh of "pi-kernel" as needed
....... ....... ....... ....... ....... ....... ....... ....... ....... .......
Update assets from kernel "pi-kernel" (475)
2022-06- 09T16:32: 57Z ERROR volume pi is not compatible with disk /dev/mmcblk0: cannot find disk partition /dev/mmcblk0p2 (starting at 269484032) in gadget: start offs...