[07:50] <paradisaeidae_> Is there somewhere where there is info on migrating from using apt-get to snap? When I have previously installed with apt?
[07:51] <lutostag> paradisaeidae_: not sure quite what you are looking for... they are two separate ways to install software. They can be used together on the same system if you'd like
[07:52] <lutostag> paradisaeidae_: are you on ubuntu core? Or just looking at how to install snaps in general?
[07:53] <paradisaeidae_> I've just done a 'snap install inkscape' on Lub:16.04:E20... then apt-get riove inkscape, now bash does not find inkscape binary
[07:54] <paradisaeidae_> ....apt-get remove inkscape...
[07:55] <lutostag> theoretically that should work... I didn't know inkscape was snapped, I'll try on my end and see if I hit anything myself. Gimme just a sec
[07:56] <lutostag> paradisaeidae_: works for me -- I didnt uninstall my apt-version of inkscape
[07:57] <lutostag> paradisaeidae_: for me I have a binary in /snap/bin/inkscape
[07:58] <paradisaeidae_> thX! Looks like the apt-get install snap did not add the /snap/bin to $PATH
[07:58] <lutostag> paradisaeidae_: cool, yeah, I have /etc/profile.d/apps-bin-path.sh on my system that does it for me
[08:01] <paradisaeidae_> ok, so how does the command execute? I get ~/snap/inkscape/1880: Bad file descriptor
[08:02] <paradisaeidae_> When invoking the sof t link: /snap/bin/inkscape
[08:02] <lutostag> yeah, that's all I have to do...
[08:03] <paradisaeidae_> What's in your /etc/profile.d/apps-bin-path.sh?
[08:03] <lutostag> paradisaeidae_: do you have a directory at ~/snap/inkscape/1880 ? I do, which was installed by the snap install command
[08:03] <lutostag> paradisaeidae_: http://pastebin.com/QDzTxPVv
[08:04] <lutostag> paradisaeidae_: out of curiosity, what distro are you on?
[08:04] <paradisaeidae_> I'm on Lubuntu 16.04 with E-0.21
[08:06] <paradisaeidae_> I do, but it is empty. Just did PATH=$PATH:/snap/bin at cli.
[08:06] <paradisaeidae_> Now I see cannot create user data directory: ~/snap/inkscape/1880: Bad file descriptor
[08:08] <lutostag> hmm... curious indeed
[08:09] <lutostag> if you do an $ ls -ld ~/snap/inkscape/1880 #is it just a regular dir owned by your user (non-root)?
[08:10] <paradisaeidae_> Looks like it: drwxr-xr-x 2
[08:10] <lutostag> and looks like that directory was created on first run of /snap/bin/inkscape ... rather than on installation as I first said
[08:10] <paradisaeidae_> yep
[08:11] <lutostag> paradisaeidae_: same here
[08:14] <paradisaeidae_> # /snap/inkscape/1880/bin/inkscape files are root.root
[08:14] <lutostag> same again
[08:15] <lutostag> tedg_: is the maintainer of that snap looks like, he might be able to help further
[08:15] <paradisaeidae_> When I try to run it: /snap/inkscape/1880/bin/inkscape: error while loading shared libraries: libpotrace.so.0: cannot open shared object file: No such file or directory
[08:16] <lutostag> paradisaeidae_: I've got a different one, but similar "/snap/inkscape/1880/bin/inkscape: error while loading shared libraries: libpoppler.so.58: cannot open shared object file: No such file or directory"
[08:17] <lutostag> paradisaeidae_: which is probably because the snap wrapper sets the library directories correctly along with a bunch of other stuff
[08:17] <paradisaeidae_> OK, thanks again. It's possibly a packaging thing. I'm sure it will get sorted.
[08:18] <lutostag> paradisaeidae_: well you got me using the inkscape snap now at least, so thanks :)
[08:18] <lutostag> (althought not quite what you were hoping I'm sure :/)
[08:18] <paradisaeidae_> yep, good result there. It is an oarsome proggy.
[08:19] <paradisaeidae_> Does Inkscape run at all for you?
[08:21] <lutostag> paradisaeidae_: yep, both do -- side-by-side even https://imgur.com/a/QJamv
[08:21] <lutostag> kinda neat
[08:22] <paradisaeidae_> Yes, hmmm. Was hoping to see that here. Will get it going sometme.
[08:23] <paradisaeidae_> Have to break for the day. Monster warm here in SYD. Sleep on beach evening. Cya!
[08:23] <lutostag> yeah, this channel is a little quiet at the moment, if you stick around and try again later, I'm sure someone with more knowledge will figure it out for us
[08:23] <lutostag> paradisaeidae_: feel free to make a https://askubuntu.com/ too, have a good one!
[08:23] <paradisaeidae_> Ciao!
[12:10] <zap12344> Hello. I managed to build a working snap package for pcsx2 https://drive.google.com/drive/folders/0B-kthB5RpM8kb0h2eGpoRllWZDA I had to compile it in a 32bit vm and made a small edit in the desktop-gtk launcher. There are some problems, but when using sdl audio output the emulator works. It doesn't work with nVidia driver and it doesn't found automatically the configuration paths
[12:25] <mcphail> zap12344: the nvidia driver thing is a pain. You can probably work around it by dumping the needed files in the snap. I had to do that for a dosbox snap
[12:29] <zap12344> macphail: my intuition is that snapd only exports the 64 bit nVidia driver and this snap is a 32bit software running on a 64bit architecture. what files did you put in the snap?
[12:32] <mup> PR snapd#2790 opened: Add a check for an empty argv in snap-confine.c <Created by eriksjolund> <https://github.com/snapcore/snapd/pull/2790>
[12:34] <mcphail> zap12344: ages since I made the snap, but this is the contents of my lib directory: http://termbin.com/4ct6
[12:35] <mcphail> zap12344: I had to keep adding various bits of mesa etc until it "worked". Never quite sure why it worked, though. Some of it was copies from the qt snaps which were around at the time
[12:39] <zap12344> mcphail: https://github.com/ubuntu/snapcraft-desktop-helpers/blob/master/common/desktop-exports#L26 they added this bit if you use a launcher to use nVidia driver, but in my case since I need the 32bit version I'm out of luck
[12:59] <mup> PR # closed: snapd#2230, snapd#2236, snapd#2251, snapd#2302, snapd#2421, snapd#2475, snapd#2477, snapd#2488, snapd#2513, snapd#2515, snapd#2524, snapd#2558, snapd#2570, snapd#2588, snapd#2592, snapd#2604, snapd#2624, snapd#2626, snapd#2644, snapd#2654, snapd#2677, snapd#2680, snapd#2707,
[12:59] <mup> snapd#2714, snapd#2718, snapd#2723, snapd#2737, snapd#2746, snapd#2747, snapd#2749, snapd#2750, snapd#2752, snapd#2754, snapd#2757, snapd#2760, snapd#2761, snapd#2763, snapd#2764, snapd#2766, snapd#2768, snapd#2769, snapd#2770, snapd#2771, snapd#2772, snapd#2773, snapd#2774, snapd#2775, snapd#2776,
[12:59] <mup> snapd#2778, snapd#2779, snapd#2780, snapd#2782, snapd#2783, snapd#2784, snapd#2786, snapd#2787, snapd#2788, snapd#2789, snapd#2790
[13:00] <mup> PR # opened: snapd#2230, snapd#2236, snapd#2251, snapd#2302, snapd#2421, snapd#2475, snapd#2477, snapd#2488, snapd#2513, snapd#2515, snapd#2524, snapd#2558, snapd#2570, snapd#2588, snapd#2592, snapd#2604, snapd#2624, snapd#2626, snapd#2644, snapd#2654, snapd#2677, snapd#2680, snapd#2707,
[13:00] <mup> snapd#2714, snapd#2718, snapd#2723, snapd#2737, snapd#2746, snapd#2747, snapd#2749, snapd#2750, snapd#2752, snapd#2754, snapd#2757, snapd#2760, snapd#2761, snapd#2763, snapd#2764, snapd#2766, snapd#2768, snapd#2769, snapd#2770, snapd#2771, snapd#2772, snapd#2773, snapd#2774, snapd#2775, snapd#2776,
[13:00] <mup> snapd#2778, snapd#2779, snapd#2780, snapd#2782, snapd#2783, snapd#2784, snapd#2786, snapd#2787, snapd#2788, snapd#2789, snapd#2790
[13:04] <AleksandrG> hey guys, does anybody have issues with running a command for a snap in try mode?
[13:04] <AleksandrG> it always fails with a message like this:
[13:04] <AleksandrG> cannot snap-exec: cannot read info for "hello-world-desktop": stat /var/lib/snapd/snaps/hello-world-desktop_x1.snap: no such file or directory
[13:09] <zyga> hi
[13:09] <zyga> hmm
[13:09] <zyga> that's odd
[13:10] <zyga> can you please tell me which version of snapd are you using (snap version)
[13:11] <shuduo> mwhudson: hi
[13:11] <zyga> AleksandrG: ^
[13:11] <zyga> also if this is on the recent version, can you please report it at launchpad.net/snapd
[13:12] <zyga> shuduo: mwhudson is in a timezone far-far away, maybe I can help you?
[13:16] <AleksandrG> just a sec..
[13:16] <shuduo> zyga: hi, i'm investigating why mwhudson's go snap can't be execute on my side. https://lists.ubuntu.com/archives/snapcraft/2017-February/002950.html now i think i found the problem is /snap/core is not exist on my machine. after i link /snap/ubuntu-core to /snap/core it works now. i wonder when /snap/core be generated. thanks. :)
[13:16] <AleksandrG> snap    2.21+16.10 snapd   2.21+16.10 series  16 ubuntu  16.10
[13:17] <zyga> shuduo: I see,
[13:17] <zyga> shuduo: snapd 2.22 hadnles the transition form ubuntu-core to core automatically
[13:17] <zyga> shuduo: you can probably switch to the candidate channel (of ubuntu-core)
[13:18] <zyga> shuduo: to have that happen
[13:18] <zyga> shuduo: just remove the symlink :-)
[13:18] <AleksandrG> zyga: is this the bug that causes snap-exec error? https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1631270
[13:18] <mup> Bug #1631270: running a command for a snap in try mode fails on trusty <trusty> <Snappy Launcher:Invalid> <Snappy:Fix Released by thomas-voss> <snap-confine (Ubuntu):Invalid> <https://launchpad.net/bugs/1631270>
[13:20] <zyga> AleksandrG: no, that is unique to 14.04
[13:20] <shuduo> zyga: good to know that root cause. could you please point me what's best way to swtich to candidate?
[13:20] <zyga> AleksandrG: and systemd / upstart and how they change sharing of /
[13:21] <zyga> shuduo: sudo snap refresh ubuntu-core --candidate
[13:21] <zyga> shuduo: then wait for a sec (observe snap changes)
[13:23] <shuduo> zyga: oh got it. i thought i should switch everything to another channel.. thanks. :)
[13:24] <AleksandrG> so if I install snapd 2.22, the error should be gone, right?
[13:26] <AleksandrG> nevermind, I'll try 2.22 and will see. Thanks for the help!
[13:34] <shuduo> zyga: seems candidate's ubuntu-core still use /snap/ubuntu-core. i even refresh latest version from edge channel.
[13:47] <shuduo> zyga: seems candidate's ubuntu-core still use /snap/ubuntu-core. i even refresh latest version from edge channel now it works.
[13:54] <shuduo> zyga: i tried candidate's ubuntu-core on 1610. it works to transition to core as expected. thanks.
[15:15] <mup> Bug #1661966 opened: snapd should also have a 32bit nVidia mount point  <32bit> <i386> <nvidia> <snap-confine> <Snappy:New> <https://launchpad.net/bugs/1661966>
[15:26] <thresh> so.. how does versioning in ubuntu store workds?
[15:26] <thresh> works
[15:26] <thresh> right now I have the version, ahem, "daily" for VLC
[15:27] <thresh> I would like to move to something like 3.0.0-$date, maybe followed by 3.0.0-release when the release version is there
[15:27] <thresh> is it the same as in dpkg?
[15:31] <thresh> can I just bump the version the way I want, and it will automagically be updated for the end users?
[15:31] <thresh> sorry for asking noob questions, I'm still the old fart using apt :-)
[15:47] <palasso> thresh: every time you make a new snap a counter increases. There's also a version field but that's not related to updating, it's there to give context to a human person
[15:48] <palasso> thresh: I mean every time you publish a new snap for your application
[15:49] <palasso> thresh: Revision is the counter being updated. Every new snap you upload increases revision by one. The version field can be anything
[15:53] <palasso> thresh: there's also a thing called channels. There's stable, candidate, beta and edge. You can upload snaps on each channel depending on how stable they are. For example nightly releases could be in the edge channel, beta releases in the beta channel, RC releases in the candidate channel and stable releases in the stable channel
[15:58] <thresh> thank you palasso, it is now very clear
[16:01] <oky> can someone point me to the list of available snaps? i'm trying to determine how to name the snap i am creating
[16:02] <oky> (snap find times out for me, on my machine. btw)
[16:02] <oky> oops, there it goes!
[16:06] <palasso> oky: https://uappexplorer.com/apps?type=snappy
[16:19] <oky> perfect, thanks palasso
[20:31] <oky> i'm trying out 'snapcraft cleanbuild', but the network is not getting attached to the lxc container
[20:32] <oky> i'm googling around, looking for troubleshooting tipcs, etc. any keywords that would help? i'm looking for 'snapcraft lxc network' and 'lxc network', etc.
[21:32] <oky> ok, i installed dnsmasq, restarted my machine, etc. now cleanbuild can see my network, but it errors saying something like 'missing snapcraft.yaml, did you try to run snapcraft init'
[21:34] <oky> so far, snapcraft is really cool - i like the idea of containment + wiring up multiple packages together
[21:38] <oky> i think the issue re: missing snapcraft might be related to this link i found: https://github.com/snapcore/snapcraft/commit/e35826ed401a7ed05a9c2046346307bc3fb76217, bc i noticed that the 'setting up container with project assets' is missing my snap/ dir. i will wait for next release of snapcraft, i think
[23:02] <swluo> hello?
[23:02] <swluo> anyone here?