snap remove --purge only works with one snap

Bug #2030941 reported by Nathan Teodosio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
Fix Committed
Medium
Zeyad Gouda

Bug Description

This works:

--->
snap remove --purge snap1
<---

This fails:

--->
$ snap remove --purge snap1 snap2
error: unsupported option provided for multi-snap operation
<---

Is there a good reason why 'remove' can't handle multiple snaps when '--purge' is also passed?

Zeyad Gouda (zeyadgouda)
Changed in snapd (Ubuntu):
status: New → Confirmed
assignee: nobody → Zeyad Gouda (zeyadgouda)
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
Zeyad Gouda (zeyadgouda) wrote :

Hello, a PR was submitted to enable --purge for multi-snap removal https://github.com/snapcore/snapd/pull/13091

Revision history for this message
Nathan Teodosio (nteodosio) wrote : Re: [Bug 2030941] Re: snap remove --purge only works with one snap

Great, thanks for working on this, Zeyad.

Zeyad Gouda (zeyadgouda)
Changed in snapd (Ubuntu):
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.