Cleaning breaks tried snap

Bug #1774015 reported by Kyle Fazzari
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Medium
Kyle Fazzari

Bug Description

There's a disconnect between snapd and the snapcraft CLI when it comes to `snap try`. Snapcraft doesn't know that a given snap is being tried, which means when one runs `snapcraft clean` is completely breaks the tried snap, requiring the user to `snap try` again. This should be a smooth experience.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Proposed solution is here: https://github.com/snapcore/snapcraft/pull/2143 . A better solution could be had if snapd helped, forum post here: https://forum.snapcraft.io/t/snapd-rest-api-expose-bind-mount-root-in-tried-snaps/5608 .

Changed in snapcraft:
milestone: none → 2.43
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.