reboot scheduled to update the system
With at time in like 10 minutes from now.
So I went and checked snap status core: I have 16-2.39, while stable would be 16-2.40
Makes sense it tries to run this update, but somehow fails. After new login the situation is the same.
snap changes reports Status: error
Any hints where I should start investigating?
snap list:
the highest ID from snap changes is 229, so here is the output from snap change 229
Status Spawn Ready Summary
Done today at 18:05 CEST today at 18:06 CEST Ensure prerequisites for “core” are available
Undone today at 18:05 CEST today at 18:06 CEST Download snap “core” (7398) from channel “stable”
Done today at 18:05 CEST today at 18:06 CEST Fetch and check assertions for snap “core” (7398)
Undone today at 18:05 CEST today at 18:06 CEST Mount snap “core” (7398)
Undone today at 18:05 CEST today at 18:06 CEST Run pre-refresh hook of “core” snap if present
Undone today at 18:05 CEST today at 18:06 CEST Stop snap “core” services
Undone today at 18:05 CEST today at 18:06 CEST Remove aliases for snap “core”
Undone today at 18:05 CEST today at 18:06 CEST Make current revision for snap “core” unavailable
Undone today at 18:05 CEST today at 18:06 CEST Copy snap “core” data
Undone today at 18:05 CEST today at 18:06 CEST Setup snap “core” (7398) security profiles
Undone today at 18:05 CEST today at 18:06 CEST Make snap “core” (7398) available to the system
Error today at 18:05 CEST today at 18:06 CEST Automatically connect eligible plugs and slots of snap “core”
Hold today at 18:05 CEST today at 18:06 CEST Set automatic aliases for snap “core”
Hold today at 18:05 CEST today at 18:06 CEST Setup snap “core” aliases
Hold today at 18:05 CEST today at 18:06 CEST Run post-refresh hook of “core” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Start snap “core” (7398) services
Hold today at 18:05 CEST today at 18:06 CEST Remove data for snap “core” (6676)
Hold today at 18:05 CEST today at 18:06 CEST Remove snap “core” (6676) from the system
Hold today at 18:05 CEST today at 18:06 CEST Clean up “core” (7398) install
Hold today at 18:05 CEST today at 18:06 CEST Run configure hook of “core” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Ensure prerequisites for “pi2-kernel” are available
Hold today at 18:05 CEST today at 18:06 CEST Download snap “pi2-kernel” (97) from channel “stable”
Hold today at 18:05 CEST today at 18:06 CEST Fetch and check assertions for snap “pi2-kernel” (97)
Hold today at 18:05 CEST today at 18:06 CEST Mount snap “pi2-kernel” (97)
Hold today at 18:05 CEST today at 18:06 CEST Run pre-refresh hook of “pi2-kernel” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Stop snap “pi2-kernel” services
Hold today at 18:05 CEST today at 18:06 CEST Remove aliases for snap “pi2-kernel”
Hold today at 18:05 CEST today at 18:06 CEST Make current revision for snap “pi2-kernel” unavailable
Hold today at 18:05 CEST today at 18:06 CEST Copy snap “pi2-kernel” data
Hold today at 18:05 CEST today at 18:06 CEST Setup snap “pi2-kernel” (97) security profiles
Hold today at 18:05 CEST today at 18:06 CEST Make snap “pi2-kernel” (97) available to the system
Hold today at 18:05 CEST today at 18:06 CEST Automatically connect eligible plugs and slots of snap “pi2-kernel”
Hold today at 18:05 CEST today at 18:06 CEST Set automatic aliases for snap “pi2-kernel”
Hold today at 18:05 CEST today at 18:06 CEST Setup snap “pi2-kernel” aliases
Hold today at 18:05 CEST today at 18:06 CEST Run post-refresh hook of “pi2-kernel” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Start snap “pi2-kernel” (97) services
Hold today at 18:05 CEST today at 18:06 CEST Remove data for snap “pi2-kernel” (82)
Hold today at 18:05 CEST today at 18:06 CEST Remove snap “pi2-kernel” (82) from the system
Hold today at 18:05 CEST today at 18:06 CEST Clean up “pi2-kernel” (97) install
Hold today at 18:05 CEST today at 18:06 CEST Run configure hook of “pi2-kernel” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Ensure prerequisites for “nextcloud” are available
Hold today at 18:05 CEST today at 18:06 CEST Download snap “nextcloud” (15125) from channel “stable”
Hold today at 18:05 CEST today at 18:06 CEST Fetch and check assertions for snap “nextcloud” (15125)
Hold today at 18:05 CEST today at 18:06 CEST Mount snap “nextcloud” (15125)
Hold today at 18:05 CEST today at 18:06 CEST Run pre-refresh hook of “nextcloud” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Stop snap “nextcloud” services
Hold today at 18:05 CEST today at 18:06 CEST Remove aliases for snap “nextcloud”
Hold today at 18:05 CEST today at 18:06 CEST Make current revision for snap “nextcloud” unavailable
Hold today at 18:05 CEST today at 18:06 CEST Copy snap “nextcloud” data
Hold today at 18:05 CEST today at 18:06 CEST Setup snap “nextcloud” (15125) security profiles
Hold today at 18:05 CEST today at 18:06 CEST Make snap “nextcloud” (15125) available to the system
Hold today at 18:05 CEST today at 18:06 CEST Automatically connect eligible plugs and slots of snap “nextcloud”
Hold today at 18:05 CEST today at 18:06 CEST Set automatic aliases for snap “nextcloud”
Hold today at 18:05 CEST today at 18:06 CEST Setup snap “nextcloud” aliases
Hold today at 18:05 CEST today at 18:06 CEST Run post-refresh hook of “nextcloud” snap if present
Hold today at 18:05 CEST today at 18:06 CEST Start snap “nextcloud” (15125) services
Hold today at 18:05 CEST today at 18:06 CEST Remove data for snap “nextcloud” (13448)
Hold today at 18:05 CEST today at 18:06 CEST Remove snap “nextcloud” (13448) from the system
Hold today at 18:05 CEST today at 18:06 CEST Clean up “nextcloud” (15125) install
Hold today at 18:05 CEST today at 18:06 CEST Run configure hook of “nextcloud” snap if present
Done today at 18:05 CEST today at 18:06 CEST Consider re-refresh of “core”, “pi2-kernel”, “nextcloud”
…
Make snap “core” (7398) available to the system
2019-08-18T18:06:21+02:00 INFO Requested system restart.
…
Automatically connect eligible plugs and slots of snap “core”
2019-08-18T18:06:27+02:00 INFO Waiting for restart…
2019-08-18T18:06:27+02:00 INFO Waiting for restart…
2019-08-18T18:06:28+02:00 INFO Waiting for restart…
2019-08-18T18:06:28+02:00 INFO Waiting for restart…
2019-08-18T18:06:28+02:00 INFO Waiting for restart…
2019-08-18T18:06:29+02:00 INFO Waiting for restart…
2019-08-18T18:06:29+02:00 INFO Waiting for restart…
2019-08-18T18:06:29+02:00 INFO Waiting for restart…
2019-08-18T18:06:30+02:00 INFO Waiting for restart…
2019-08-18T18:06:31+02:00 ERROR cannot finish core installation, there was a rollback across reboot
Not sure how to understand this… I’m afraid.
Dependencies between packages…?
My hardware is RPi3. With a PiDrive attached, as from the kit.
Tried a snap login
Then snap whoami shows my email.
Still, after a scheduled reboot due to updating (I’m waiting like 10minutes or so): Same situation.
If I’m understanding correctly, when core is refreshed, your box reboots, tries the new core, and it fails, and then reboots again and falls back to the old core? If so, could we get logs of what happened during the attempt with the new core?
AFAIK, no there is not a pi3-kernel specific for UC16. However there is for UC18 if you upgrade to that, but all the pi kernels are published under pi-kernel for UC18 are under various tracks for the different pi’s on UC18 (i.e. there’s a pi-kernel track for 18-pi3, 18-pi2, and 18-cm3).
Not yet unfortunately, when this happens I’m not sure if one will be published for use with UC16, I imagine it will probably only be available for UC18, but the closest we have yet is @ogra’s work at Support for Raspberry Pi 4 - #14 by ogra which is unofficial and for development/prototyping only.