Ubuntu Core 16: Error: cannot refresh "pi2-kernel": snap "pi2-kernel" has changes in progress
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Question: How can I remove pending tasks with state undo and retry the failed refresh operation again?
Action:
The trial to snap refresh pi2-kernel ended without completion, after a reboot I tried
snap refresh pi2-kernel, got response ""error: cannot refresh "pi2-kernel": snap "pi2-kernel" has changes in progress"
snap version
-------
snap 2.28.3
snapd 2.28.3
series 16
kernel 4.4.0-1074-raspi2
snap list
-------
Name Version Rev Developer Notes
classic 16.04 26 canonical devmode
core 16-2.28.3 3190 canonical core
docker 17.06.2-ce 181 docker-inc devmode
pi2-kernel 4.4.0.1074.74 42 canonical kernel
pi3 16.04-0.5 22 canonical gadget
snap changes
-------
ID Status Spawn Ready Summary
217 Done 2017-10-
219 Done 2017-10-
220 Done 2017-10-
221 Error 2017-10-
222 Undo 2017-10-
223 Done 2017-10-
224 Done 2017-10-
225 Done 2017-10-
226 Done 2017-10-
227 Done 2017-10-
snap tasks 222
-------
Status Spawn Ready Summary
Undo 2017-10-
Undone 2017-10-
Done 2017-10-
Undone 2017-10-
Undone 2017-10-
Undone 2017-10-
Undone 2017-10-
Undone 2017-10-
Error 2017-10-
Hold 2017-10-
Hold 2017-10-
Hold 2017-10-
Hold 2017-10-
Hold 2017-10-
Hold 2017-10-
Hold 2017-10-
snap info pi2-kernel
-------
name: pi2-kernel
summary: The canonical raspi2 armhf kernel
publisher: canonical
contact: <email address hidden>
description: |
The Ubuntu linux-raspi2 kernel package as a snap
type: kernel
snap-id: m0rvvnmRdDgexon
tracking: edge
installed: 4.4.0.1074.74 (42) 105MB kernel
refreshed: 2017-09-18 14:10:10 +0000 UTC
channels:
stable: 4.4.0-1030-3 (22) 89MB -
candidate: 4.4.0.1075.75 (43) 105MB -
beta: 4.4.0.1075.75 (43) 105MB -
edge: 4.4.0.1075.75 (43) 105MB -
description: | updated |
You can use "snap abort" to abort any individual change.
Best regards
ZK
On Thu, Oct 12, 2017 at 3:40 AM, gi-minni <email address hidden> wrote: ------- ------- ---- ------- ------- ------- ------- ------- ------- -- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- 09T18:22: 50Z 2017-10- 10T19:14: 19Z Auto-refresh snap "core" 10T19:19: 17Z 2017-10- 10T19:32: 54Z Auto-refresh snap "core" 10T21:29: 26Z 2017-10- 10T21:29: 26Z Refresh all snaps: no updates 11T07:42: 45Z 2017-10- 11T15:57: 50Z Auto-refresh snap "core" 11T14:19: 22Z - Refresh snap "pi2-kernel" 11T15:24: 35Z 2017-10- 11T15:24: 35Z Refresh all snaps: no updates 11T15:57: 51Z 2017-10- 11T16:11: 37Z Auto-refresh snap "core" 11T17:16: 05Z 2017-10- 11T17:16: 05Z Refresh all snaps: no updates 11T17:28: 42Z 2017-10- 11T17:28: 42Z Switch "pi2-kernel" snap to edge 11T18:06: 12Z 2017-10- 11T18:06: 12Z Refresh all snaps: no updates ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- 11T14:19: 22Z 2017-10- 11T14:19: 22Z Ensure prerequisites for "pi2-kernel" are available 11T14:19: 22Z 2017-10- 11T15:57: 44Z Download snap "pi2-kernel" (43) from channel "edge" 11T14:19: 22Z 2017-10- 11T17:41: 42Z Fetch and check assertions for snap "pi2-kernel" (43) 11T14:19: 22Z 2017-10- 11T15:57: 47Z Mount snap "pi2-kernel" (43) 11T14:19: 22Z 2017-10- 11T15:57: 44Z Stop snap "pi2-kernel" services 11T14:19: 22Z 2017-10- 11T15:57: 44Z Remove aliases for snap "pi2-kernel" 11T14:19: 22Z 2017-10- 11T15:57: 44Z Make current revision for snap "pi2-kernel" unavailable
> ** Description changed:
>
> - Question: How can I remove pending tasks with state error and retry the
> + Question: How can I remove pending tasks with state undo and retry the
> failed refresh operation again?
>
> - Action:
> - The trial to snap refresh pi2-kernel ended without completion, after a reboot I tried
> + Action:
> + The trial to snap refresh pi2-kernel ended without completion, after a reboot I tried
> snap refresh pi2-kernel, got response ""error: cannot refresh "pi2-kernel": snap "pi2-kernel" has changes in progress"
>
> snap version
> -------
> snap 2.28.3
> snapd 2.28.3
> series 16
> kernel 4.4.0-1074-raspi2
>
> snap list
> -------
> Name Version Rev Developer Notes
> classic 16.04 26 canonical devmode
> core 16-2.28.3 3190 canonical core
> docker 17.06.2-ce 181 docker-inc devmode
> pi2-kernel 4.4.0.1074.74 42 canonical kernel
> pi3 16.04-0.5 22 canonical gadget
>
> snap changes
> -------
> ID Status Spawn Ready Summary
> 217 Done 2017-10-
> 219 Done 2017-10-
> 220 Done 2017-10-
> 221 Error 2017-10-
> 222 Undo 2017-10-
> 223 Done 2017-10-
> 224 Done 2017-10-
> 225 Done 2017-10-
> 226 Done 2017-10-
> 227 Done 2017-10-
>
> snap tasks 222
> -------
> Status Spawn Ready Summary
> Undo 2017-10-
> Undone 2017-10-
> Done 2017-10-
> Undone 2017-10-
> Undone 2017-10-
> Undone 2017-10-
> Undone 2017-10-
...