Problem removing a snap
Gustavo Niemeyer
gustavo at niemeyer.net
Wed Nov 2 20:43:25 UTC 2016
Hi Chris,
Can you please try updating your snapd package?
Recent releases have a more reliable remove procedure that handles these
cases better.
On Wed, Nov 2, 2016 at 6:40 PM, Chris <cpollock at embarqmail.com> wrote:
> 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
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
--
gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161102/7bd2f05f/attachment.html>
More information about the Snapcraft
mailing list