snappy list/remove bails on 15.04/stable #5 if invalid package.yaml is on disk (no vendor field)
Bug #1497245 reported by
Alexander Sack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
High
|
John Lenton |
Bug Description
snappy list
can not parse package.yaml: missing required fields 'vendor' (from: "name: xxx-zigbee-
would be great if our code would be as robust as possible and continues no matter what. as long as the info needed for the essential parts of the operation is there...
remove should surely always work. list might skip this package or mark it as broken.
summary: |
- snappy list/remove explodes if invalid package.yaml is on disk + snappy list/remove bails on 15.04/stable #5 if invalid package.yaml is + on disk (no vendor field) |
Changed in snappy: | |
importance: | Undecided → High |
assignee: | nobody → John Lenton (chipaca) |
milestone: | none → 15.04.4 |
description: | updated |
Changed in snappy: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The snaps are now mounted read only, so the only way to list or remove a snap with an invalid yaml would be for it to be invalid during the installation. That fails, and a test was added to make sure that it is an error and not a panic: https:/ /github. com/ubuntu- core/snappy/ pull/885/ files#diff- d9d39acdde768ab d2891cd21d5c9ae ceR566