purging a snap with single revision fails when revision is specified in the command line

Bug #2112551 reported by Maciej Borzecki
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Fix Committed
Undecided
Maciej Borzecki

Bug Description

Reported in the forum https://forum.snapcraft.io/t/snapd-papercuts-initiative/47263/7

# snap list --all | grep cups
cups 2.4.12-2 1100 latest/stable openprinting✓ -

# snap remove --purge --revision 1100 cups
error: cannot remove "cups": cannot remove active revision 1100 of snap "cups"

# snap remove --purge cups
2025-06-04T13:24:21Z INFO Waiting for "snap.cups.cups-browsed.service" to stop.
cups removed

Tags: papercuts
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :
Changed in snapd:
status: New → In Progress
milestone: none → 2.71
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :
Changed in snapd:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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