On Wed, 2016-11-02 at 20:40 -0200, Gustavo Niemeyer wrote: > > There's no need to attempt to remove again. snapd has proper state > tracking and still remembers that you are trying to remove that snap. > > If you kept the directory mounted as suggested, by now it should > already be gone. > I'd already removed it manually before your reply with the command you sent. I admit, I screwed up again
> On Wed, Nov 2, 2016 at 8:34 PM, Chris <cpoll...@embarqmail.com> > wrote: > > On Wed, 2016-11-02 at 20:06 -0200, Gustavo Niemeyer wrote: > > > Ok, thanks for those details. We'll look more deeply into this > > > tomorrow and try to reproduce the issue. > > > > > > To fix your problem, can you please try this simple hack to get > > over > > > the bug: > > > > > > sudo mount --bind /snap/ubuntu-core/current /snap/viking-gps/1 > > > > > > This should allow the remove to go through. > > > > > > > > chris@localhost:~$ sudo mount --bind /snap/ubuntu-core/current > > /snap/viking-gps/1 > > [sudo] password for chris: > > mount: mount point /snap/viking-gps/1 does not exist > > > > chris@localhost:~$ sudo snap remove viking-gps > > 2016-11-02T17:22:05-05:00 ERROR cannot remove snap file "viking- > > gps", > > will retry in 3 mins: umount: /snap/viking-gps/1: mountpoint not > > found > > > > The above is probably because I manually removed the empty 1 > > directory > > and the viking-gps directory from /snap. > > > > In an attempt to reinstall it and then hopefully have it properly > > removed I tried > > > > error: cannot install "viking-gps": snap "viking-gps" already > > installed > > > > From what I can see when I run snap list and it's still shown there > > needs to be some kind of refresh command (other than the one to > > check > > for newer snap versions) which would refresh the listing of snaps > > or > > tell snapd that a snap is no longer there. > > > > > On Wed, Nov 2, 2016 at 7:53 PM, Chris <cpoll...@embarqmail.com> > > > wrote: > > > > On Wed, 2016-11-02 at 18:43 -0200, Gustavo Niemeyer wrote: > > > > > Hi Chris, > > > > > > > > > > Can you please try updating your snapd package? > > > > > > > > > > Recent releases have a more reliable remove procedure that > > > > handles > > > > > these cases better. > > > > > > > > > According to apt-cache policy > > > > > > > > chris@localhost:~$ apt-cache policy snapd > > > > snapd: > > > > Installed: 2.16ubuntu3 > > > > Candidate: 2.16ubuntu3 > > > > Version table: > > > > *** 2.16ubuntu3 500 > > > > 500 http://us.archive.ubuntu.com/ubuntu xenial- > > updates/main > > > > amd64 Packages > > > > 100 /var/lib/dpkg/status > > > > 2.0.2 500 > > > > 500 http://us.archive.ubuntu.com/ubuntu xenial/main > > amd64 > > > > Packages > > > > > > > > I tried to upgrade, sudo apt upgrade snapd > > > > > > > > chris@localhost:~$ sudo apt upgrade snapd > > > > [sudo] password for chris: > > > > Reading package lists... Done > > > > Building dependency tree > > > > Reading state information... Done > > > > snapd is already the newest version (2.16ubuntu3). > > > > Calculating upgrade... Done > > > > > > > > > > > > > On Wed, Nov 2, 2016 at 6:40 PM, Chris <cpoll...@embarqmail.co > > m> > > > > > 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@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@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@lists.snapcraft.io > > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com > > /mai > > > > lman > > > > > > /listinfo/snapcraft > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > gustavo @ http://niemeyer.net > > > > > -- > > > > > Snapcraft mailing list > > > > > Snapcraft@lists.snapcraft.io > > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/m > > ailm > > > > an/l > > > > > istinfo/snapcraft > > > > -- > > > > Chris > > > > KeyID 0xE372A7DA98E6705C > > > > 31.11972; -97.90167 (Elev. 1092 ft) > > > > 16:35:27 up 1:29, 1 user, load average: 0.07, 0.11, 0.10 > > > > 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@lists.snapcraft.io > > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mai > > lman > > > > /listinfo/snapcraft > > > > > > > > > > > > > -- > > > > > > gustavo @ http://niemeyer.net > > > -- > > > Snapcraft mailing list > > > Snapcraft@lists.snapcraft.io > > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm > > an/l > > > istinfo/snapcraft > > -- > > Chris > > KeyID 0xE372A7DA98E6705C > > 31.11972; -97.90167 (Elev. 1092 ft) > > 17:14:37 up 2:08, 1 user, load average: 0.47, 0.46, 0.36 > > 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@lists.snapcraft.io > > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman > > /listinfo/snapcraft > > > > > -- > > gustavo @ http://niemeyer.net > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/l > istinfo/snapcraft -- Chris KeyID 0xE372A7DA98E6705C 31.11972; -97.90167 (Elev. 1092 ft) 17:43:19 up 2:37, 1 user, load average: 0.14, 0.22, 0.23 Ubuntu 16.04.1 LTS, kernel 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016
signature.asc
Description: This is a digitally signed message part
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft