sideloaded kernel.snap cannot be removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
Unassigned |
Bug Description
I try to install a sideloaded kernel.
sudo snap install livecd.
[|] Copy snap "canonical-
then reboot
After reboot I try to remove the kernel again:
sudo snap remove livecd.
error: can't remove "livecd.
or
sudo snap remove canonical-pc-linux
error: can't remove "canonical-
ubuntu@localhost:~$ sudo snap changes
ID Status Spawn Ready Summary
1 Done 2016-04-
2 Hold 2016-04-
3 Hold 2016-04-
4 Hold 2016-04-
5 Error 2016-04-
6 Error 2016-04-
7 Hold 2016-04-
8 Hold 2016-04-
9 Hold 2016-04-
Reinstallation also fails:
sudo snap install livecd.
error: cannot perform the following tasks:
- Mount snap "canonical-
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → Medium |
affects: | snappy → snapd |
Could you please check if you have version snapd 2.0.2 on your system? I.e. run $ grep snapd /usr/share/ snappy/ dpkg.list
There was a bug that made mount units not persist accross reboots in versions < 2.0.2. I close this bug but please reopen if you can reproduce this on an image with snapd 2.0.2