Cannot refresh from ubuntu-core 2.15.2 on raspberry pi "ubuntu core 16" image - snap-declaration for "snapweb": parsing assertion headers: expected 4 chars nesting prefix after multiline introduction "plugs:": " network:"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Fix Released
|
High
|
Maximiliano Bertacchini | ||
snapd |
Invalid
|
High
|
Unassigned |
Bug Description
I was reinstalling my fleet of devices when I noticed stable images cannot update due to a store response for snapweb.
zyga@localhost:~$ snap --version
snap 2.15.2
snapd 2.15.2
series 16
zyga@localhost:~$ sudo snap refresh
error: cannot refresh []: cannot refresh snap-declaration for "snapweb": parsing assertion headers: expected 4 chars nesting prefix after multiline introduction "plugs:": " network:"
zyga@localhost:~$ sudo snap refresh ubuntu-core
error: cannot refresh "ubuntu-core": cannot refresh snap-declaration for "snapweb": parsing assertion headers: expected 4 chars nesting prefix after multiline introduction "plugs:": " network:"
zyga@localhost:~$ sudo snap remove snapweb
snapweb removed
zyga@localhost:~$ sudo snap refresh ubuntu-core
[/] Make snap "ubuntu-core" (1799) available to the system
Broadcast message from <email address hidden> (Sun 2018-11-11 18:50:50 UTC):
reboot scheduled to update the system - temporarily cancel with 'sudo shutdown -c'
The system is going down for reboot at Sun 2018-11-11 19:00:50 UTC!
63.40 MB / 63.57 MB [======
ubuntu-core (beta) 16-2 from 'canonical' upgraded
Changed in snapstore: | |
assignee: | nobody → William Grant (wgrant) |
tags: | added: regression snapstore-deployment |
Changed in snapstore: | |
status: | Confirmed → In Progress |
assignee: | William Grant (wgrant) → Maximiliano Bertacchini (maxiberta) |
Changed in snapstore: | |
status: | In Progress → Fix Committed |
Changed in snapstore: | |
status: | Fix Committed → In Progress |
Changed in snapstore: | |
status: | In Progress → Fix Released |
this is likely related to a configuration change in the store that stopped interpreting missing max-format query param as max-format=0 on assertions. ubuntu. com/v1/ assertions/ <type>/ <primary- key> requests