error refreshing kernel with snapd 2.61 installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Committed
|
Critical
|
Alfonso Sanchez-Beato |
Bug Description
With one of the devices projects we have in the lab, we see the following error when trying to refresh the kernel to the latest one for testing. We only see this error when snapd 2.61 is installed. If we revert snapd to 2.60.4, then we can refresh the kernel and then snapd can be successfully refreshed as well.
$ sudo snap refresh snapd --beta --ignore-validation
2023-10-
snapd (beta) 2.61 from Canonical✓ refreshed
$ sudo snap refresh xxxxx-kernel --beta --ignore-validation
error: cannot perform the following tasks:
- Update assets from kernel "xxxxx-kernel" (38) (volume xxxxx is not compatible with disk /dev/nvme0n1: cannot find disk partition /dev/nvme0n1p2 (starting at 1259339776) in gadget)
https:/ /github. com/snapcore/ snapd/pull/ 13316 should fix this problem.