Alton51 | I happen to have a Dell Gateway 5000/5500 running Snappy, just updated. Can't seem to get it to show anything available with "snappy search". | 05:05 |
---|---|---|
Alton51 | It's ok, because I can use the Python that came with it. Just curious to learn more about the things, and Snappy. | 05:05 |
jospoortvliet | Alton51: a good start: https://github.com/owncloud/pi-image/wiki/Building-your-first-image | 08:39 |
jospoortvliet | ;-) | 08:39 |
qengho | Alton51: "snap find"? | 12:34 |
oparoz | Is there a "force" flag to remove snaps which can't be removed? | 13:33 |
ogra_ | there is a purge command | 13:35 |
ogra_ | usually only the system snaps cant be removed though | 13:35 |
oparoz | ogra_: The snap needs to be remove before it can be purged | 13:36 |
ogra_ | (kernel, rootfs and gadget) | 13:36 |
oparoz | ogra_: I get an error when trying to remove the snap: remove /snaps/owncloud.sideload/LVSgNhfPknPQ/COPYING: read-only file system | 13:36 |
ogra_ | did you manually change anything in that dir ? | 13:37 |
* ogra_ has only ever seen that in 15.04 whereyou | 13:37 | |
ogra_ | could actually make it rw | 13:38 |
oparoz | ogra_: No. I'm on 16.04 | 13:38 |
ogra_ | weird | 13:38 |
oparoz | ogra_: But I did use the fix mentioned here: https://bugs.launchpad.net/snappy/+bug/1564369 | 13:38 |
ubottu | Launchpad bug 1564369 in Snappy "sudo broken in latest classic" [Critical,Confirmed] | 13:38 |
ogra_ | sounds like a bug | 13:38 |
ogra_ | That mount shouldn't affect the removal though... but try to unmount it before snappy remove | 13:39 |
oparoz | ogra_: I got the error when installing the snap, but things worked as expected | 13:40 |
ogra_ | the sudo bug is only about the classic shell | 13:40 |
oparoz | ogra_: That's the error I get when installing: garbage collection impossible: prerequisites untrue: remove /snaps/owncloud.sideload/LVSgNhfPknPQ/COPYING: read-only file system | 13:40 |
ogra_ | (where you usually do not use the snappy command) | 13:41 |
oparoz | ogra_: Yeah, I'm using two terminal windows | 13:41 |
oparoz | one for classic and one for installing | 13:42 |
ogra_ | well, file a bug, I haven't seen anything like that before | 13:43 |
oparoz | ogra_: OK | 13:43 |
oparoz | https://bugs.launchpad.net/snappy/+bug/1565476 | 13:46 |
ubottu | Launchpad bug 1565476 in Snappy "Can't remove snap" [Undecided,New] | 13:46 |
ogra_ | Ah, at least there is a workaround | 13:50 |
oparoz | ogra_: Yeah, maybe it was the mount thing or the purge command. I'll confirm once I run purge again | 13:50 |
ogra_ | k | 13:50 |
oparoz | ogra_: purge is not required, happens automatially after a while, especially when the snap has some forking processes | 14:48 |
ogra_ | Without purge your rw data persists... If you really want to remove the package thats the command to use... If you will later use a newer version you indeedwant to keep the data | 14:50 |
oparoz | ogra_: Maybe but people wanting to disable a snap temporarily will be hit by this bug | 14:52 |
oparoz | ogra_: And you can't purge without removing first | 14:52 |
ogra_ | That sounds like a bug too... purge should remove and wipe the data in one go | 14:53 |
oparoz | ogra_: I get this: the given snap is still installed | 14:54 |
ogra_ | Yeah, thats what i'd call a usability bug ;) | 14:55 |
oparoz | ogra_: :) | 14:56 |
oparoz | ogra_: Ah, it works if I deactivate... | 14:57 |
oparoz | ogra_: Ah, well, it's a mess, You can still use remove after purge... and the ro file is still there... I'll file a bug | 14:57 |
ogra_ | +1 | 14:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!