Comment 1 for bug 1978127

Revision history for this message
Paul Larson (pwlars) wrote :

ubuntu@localhost:~$ snap list
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.50~18.04.1 362 18-pi/stable canonical✓ kernel
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 offsets do not match (disk: 269484032 (257 MiB) and gadget: 1048576 (1 MiB))

ubuntu@localhost:~$ cat /etc/os-release
NAME="Ubuntu Core"
VERSION="18"
ID=ubuntu-core
PRETTY_NAME="Ubuntu Core 18"
VERSION_ID="18"
HOME_URL="https://snapcraft.io/"
BUG_REPORT_URL="http://bugs.launchpad.net/snappy/"

ubuntu@localhost:~$ sudo journalctl -u snapd
-- Logs begin at Thu 2022-06-09 16:28:33 UTC, end at Thu 2022-06-09 16:51:01 UTC. --
Jun 09 16:30:21 localhost systemd[1]: Starting Snap Daemon...
Jun 09 16:30:23 localhost snapd[790]: AppArmor status: apparmor is enabled and all features are available
Jun 09 16:30:23 localhost snapd[790]: daemon.go:242: started snapd/2.53.2 (series 16) ubuntu-core/18 (arm64) linux/5.4.0-1
Jun 09 16:30:23 localhost snapd[790]: daemon.go:335: adjusting startup timeout by 50s (pessimistic estimate of 30s plus 5s
Jun 09 16:30:23 localhost systemd[1]: Started Snap Daemon.
Jun 09 16:30:26 localhost snapd[790]: stateengine.go:149: state ensure error: cannot decode new commands catalog: got unex
Jun 09 16:30:54 localhost systemd[1]: snapd.service: Current command vanished from the unit file, execution of the command
Jun 09 16:30:55 localhost snapd[790]: daemon.go:502: gracefully waiting for running hooks
Jun 09 16:30:55 localhost snapd[790]: daemon.go:504: done waiting for running hooks
Jun 09 16:30:56 localhost systemd[1]: snapd.service: Service hold-off time over, scheduling restart.
Jun 09 16:30:56 localhost systemd[1]: snapd.service: Scheduled restart job, restart counter is at 1.
Jun 09 16:30:56 localhost systemd[1]: Stopped Snap Daemon.
Jun 09 16:30:56 localhost systemd[1]: Starting Snap Daemon...
Jun 09 16:30:57 localhost snapd[1114]: AppArmor status: apparmor is enabled and all features are available
Jun 09 16:30:58 localhost snapd[1114]: overlord.go:263: Acquiring state lock file
Jun 09 16:30:58 localhost snapd[1114]: overlord.go:268: Acquired state lock file
Jun 09 16:30:58 localhost snapd[1114]: patch.go:63: Patching system state level 6 to sublevel 1...
Jun 09 16:30:58 localhost snapd[1114]: patch.go:63: Patching system state level 6 to sublevel 2...
Jun 09 16:30:58 localhost snapd[1114]: patch.go:63: Patching system state level 6 to sublevel 3...
Jun 09 16:30:58 localhost snapd[1114]: daemon.go:247: started snapd/2.56 (series 16) ubuntu-core/18 (arm64) linux/5.4.0-10
Jun 09 16:30:58 localhost snapd[1114]: daemon.go:340: adjusting startup timeout by 50s (pessimistic estimate of 30s plus 5
Jun 09 16:31:00 localhost systemd[1]: Started Snap Daemon.
Jun 09 16:31:03 localhost snapd[1114]: stateengine.go:149: state ensure error: cannot decode new commands catalog: got une
Jun 09 16:32:07 localhost snapd[1114]: taskrunner.go:271: [change 3 "Update assets from kernel \"pi-kernel\" (475)" task]
Jun 09 16:32:45 localhost snapd[1114]: storehelpers.go:722: cannot refresh: snap has no updates available: "core18", "pi",
Jun 09 16:32:50 localhost snapd[1114]: storehelpers.go:722: cannot refresh: snap has no updates available: "core18", "pi",
Jun 09 16:32:57 localhost snapd[1114]: taskrunner.go:271: [change 5 "Update assets from kernel \"pi-kernel\" (475)" task]