The error indicates a possible mismatch between the disk and the gadget specification. To get some more information, please attach output of command
$ sudo fdisk -l
Then stop snapd and run in with debug log enabled:
$ sudo systemctl stop snapd.service snapd.socket $ sudo SNAPD_DEBUG=1 /usr/lib/snapd/snapd
Try to install pc-kernel from anothre terminal and please attach the resulting traces to the bug.
The error indicates a possible mismatch between the disk and the gadget specification. To get some more information, please attach output of command
$ sudo fdisk -l
Then stop snapd and run in with debug log enabled:
$ sudo systemctl stop snapd.service snapd.socket snapd/snapd
$ sudo SNAPD_DEBUG=1 /usr/lib/
Try to install pc-kernel from anothre terminal and please attach the resulting traces to the bug.