"snap revert" doesn't remove the reverted version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
After "snap revert" does its job, the reverted version is still installed, mounted and enabled.
I don't see any way to revert that "revert" other than removing the snap and reinstalling it (which deletes all user data).
"snap remove" doesn't have an option to remove just one version of a snap (maybe it should have?).
"snap refresh" doesn't update the snap to the reverted version.
I think the reverted version should be removed (including data in $HOME/snap/ and /var/snap/).
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.11+0.16.04
ProcVersionSign
Uname: Linux 4.4.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Aug 9 20:25:58 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-04-25 (105 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in snapd (Ubuntu): | |
importance: | Undecided → High |
snap remove does have --revision (I'm not sure that's released into Ubuntu, but if it's not there yet it will be soon).
An explicit snap refresh of the snap will move you forwards to the locally available revision you reverted away from (this is WIP but should land later this week, and released perhaps with the next drop).
If the snap gets further updated in the store, snap refresh will pick up the new revision; this already works.