Problem removing a snap

Chris cpollock at embarqmail.com
Wed Nov 2 20:40:30 UTC 2016


I went to remove a snap, viking-gps, and it just sat there doing
nothing. I did a CTRL-C to stop the process. So, running snap changes
showed me

343  Doing   2016-11-02T17:22:13Z  -                     Remove
"viking-gps" snap

Then running snap change 343, since it was still running I get:

chris at localhost:/snap/viking-gps/1$ snap change 343
Status  Spawn                 Ready                 Summary
Done    2016-11-02T17:22:13Z  2016-11-02T17:22:14Z  Stop snap "viking-
gps" services
Done    2016-11-02T17:22:13Z  2016-11-02T17:22:16Z  Make snap "viking-
gps" unavailable to the system
Done    2016-11-02T17:22:13Z  2016-11-02T17:22:19Z  Remove security
profile for snap "viking-gps" (1)
Done    2016-11-02T17:22:13Z  2016-11-02T17:22:21Z  Remove data for
snap "viking-gps" (1)
Doing   2016-11-02T17:22:13Z  -                     Remove snap
"viking-gps" (1) from the system
Do      2016-11-02T17:22:13Z  -                     Discard interface
connections for snap "viking-gps" (1)

......................................................................
Remove snap "viking-gps" (1) from the system

2016-11-02T14:47:01-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T14:50:01-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T14:53:01-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T14:56:01-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T14:59:01-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T15:02:01-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T15:06:47-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T15:09:49-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T15:12:50-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted
2016-11-02T15:15:51-05:00 ERROR cannot remove snap file "viking-gps",
will retry in 3 mins: umount: /snap/viking-gps/1: not mounted

The above tells me that all has been done except removing the snap and
discarding the interface. I ran sudo snap abort 343 which stopped it.
However the snap still showed up in /snap but was empty. I took a
drastic step and just rmdir the folder under viking-gps and viking-gps
itself. When I run sudo snap list it still shows up.

chris at localhost:/snap$ sudo snap list
Name                 Version         Rev  Developer    Notes
blender-tpaw         2.78-tpaw0      2    tpaw         -
directpdf            0.1.4           8    normex       devmode
krita                3.0.1.1-snap16  8    krita        -
pencilsheep          5               5    pencilsheep  -
snapweb              0.21.2          24   canonical    -
speed-test           1.7.0.1         2    bartaz       -
ubuntu-core          16.04.1         423  canonical    -
vice-jz              2.4.27-2        4    jz           -
viking-gps                           1    chihchun     disabled,broken
wallpaperdownloader  2.3             5    egarcia      -

What snap command do I use to totally remove it from the list of snaps
on my system?

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
15:14:05 up 8 min, 1 user, load average: 4.82, 4.76, 2.53
Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161102/eee3fc16/attachment.sig>


More information about the Snapcraft mailing list