/srv/irclogs.ubuntu.com/2017/02/05/#snappy.txt

=== markusfluer1 is now known as markusfluer
paradisaeidae_Is there somewhere where there is info on migrating from using apt-get to snap? When I have previously installed with apt?07:50
lutostagparadisaeidae_: 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 like07:51
lutostagparadisaeidae_: are you on ubuntu core? Or just looking at how to install snaps in general?07:52
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 binary07:53
paradisaeidae_....apt-get remove inkscape...07:54
lutostagtheoretically 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 sec07:55
lutostagparadisaeidae_: works for me -- I didnt uninstall my apt-version of inkscape07:56
lutostagparadisaeidae_: for me I have a binary in /snap/bin/inkscape07:57
paradisaeidae_thX! Looks like the apt-get install snap did not add the /snap/bin to $PATH07:58
lutostagparadisaeidae_: cool, yeah, I have /etc/profile.d/apps-bin-path.sh on my system that does it for me07:58
paradisaeidae_ok, so how does the command execute? I get ~/snap/inkscape/1880: Bad file descriptor08:01
paradisaeidae_When invoking the sof t link: /snap/bin/inkscape08:02
lutostagyeah, that's all I have to do...08:02
paradisaeidae_What's in your /etc/profile.d/apps-bin-path.sh?08:03
lutostagparadisaeidae_: do you have a directory at ~/snap/inkscape/1880 ? I do, which was installed by the snap install command08:03
lutostagparadisaeidae_: http://pastebin.com/QDzTxPVv08:03
lutostagparadisaeidae_: out of curiosity, what distro are you on?08:04
paradisaeidae_I'm on Lubuntu 16.04 with E-0.2108:04
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 descriptor08:06
lutostaghmm... curious indeed08:08
lutostagif you do an $ ls -ld ~/snap/inkscape/1880 #is it just a regular dir owned by your user (non-root)?08:09
paradisaeidae_Looks like it: drwxr-xr-x 208:10
lutostagand looks like that directory was created on first run of /snap/bin/inkscape ... rather than on installation as I first said08:10
paradisaeidae_yep08:10
lutostagparadisaeidae_: same here08:11
paradisaeidae_# /snap/inkscape/1880/bin/inkscape files are root.root08:14
lutostagsame again08:14
lutostagtedg_: is the maintainer of that snap looks like, he might be able to help further08: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 directory08:15
lutostagparadisaeidae_: 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:16
lutostagparadisaeidae_: which is probably because the snap wrapper sets the library directories correctly along with a bunch of other stuff08:17
paradisaeidae_OK, thanks again. It's possibly a packaging thing. I'm sure it will get sorted.08:17
lutostagparadisaeidae_: 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:18
paradisaeidae_Does Inkscape run at all for you?08:19
lutostagparadisaeidae_: yep, both do -- side-by-side even https://imgur.com/a/QJamv08:21
lutostagkinda neat08:21
paradisaeidae_Yes, hmmm. Was hoping to see that here. Will get it going sometme.08:22
paradisaeidae_Have to break for the day. Monster warm here in SYD. Sleep on beach evening. Cya!08:23
lutostagyeah, 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 us08:23
lutostagparadisaeidae_: feel free to make a https://askubuntu.com/ too, have a good one!08:23
paradisaeidae_Ciao!08:23
=== rumble is now known as grumble
=== mcphail_ is now known as mcphail
zap12344Hello. 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 paths12:10
mcphailzap12344: 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 snap12:25
zap12344macphail: 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:29
mupPR 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:32
mcphailzap12344: ages since I made the snap, but this is the contents of my lib directory: http://termbin.com/4ct612:34
mcphailzap12344: 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 time12:35
zap12344mcphail: 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 luck12:39
mupPR # 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
mupsnapd#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
mupsnapd#2778, snapd#2779, snapd#2780, snapd#2782, snapd#2783, snapd#2784, snapd#2786, snapd#2787, snapd#2788, snapd#2789, snapd#279012:59
mupPR # 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
mupsnapd#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
mupsnapd#2778, snapd#2779, snapd#2780, snapd#2782, snapd#2783, snapd#2784, snapd#2786, snapd#2787, snapd#2788, snapd#2789, snapd#279013:00
AleksandrGhey guys, does anybody have issues with running a command for a snap in try mode?13:04
AleksandrGit always fails with a message like this:13:04
AleksandrGcannot snap-exec: cannot read info for "hello-world-desktop": stat /var/lib/snapd/snaps/hello-world-desktop_x1.snap: no such file or directory13:04
zygahi13:09
zygahmm13:09
zygathat's odd13:09
zygacan you please tell me which version of snapd are you using (snap version)13:10
shuduomwhudson: hi13:11
zygaAleksandrG: ^13:11
zygaalso if this is on the recent version, can you please report it at launchpad.net/snapd13:11
zygashuduo: mwhudson is in a timezone far-far away, maybe I can help you?13:12
AleksandrGjust a sec..13:16
shuduozyga: 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
AleksandrGsnap    2.21+16.10 snapd   2.21+16.10 series  16 ubuntu  16.1013:16
zygashuduo: I see,13:17
zygashuduo: snapd 2.22 hadnles the transition form ubuntu-core to core automatically13:17
zygashuduo: you can probably switch to the candidate channel (of ubuntu-core)13:17
zygashuduo: to have that happen13:18
zygashuduo: just remove the symlink :-)13:18
AleksandrGzyga: is this the bug that causes snap-exec error? https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/163127013:18
mupBug #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:18
zygaAleksandrG: no, that is unique to 14.0413:20
shuduozyga: good to know that root cause. could you please point me what's best way to swtich to candidate?13:20
zygaAleksandrG: and systemd / upstart and how they change sharing of /13:20
zygashuduo: sudo snap refresh ubuntu-core --candidate13:21
zygashuduo: then wait for a sec (observe snap changes)13:21
shuduozyga: oh got it. i thought i should switch everything to another channel.. thanks. :)13:23
AleksandrGso if I install snapd 2.22, the error should be gone, right?13:24
AleksandrGnevermind, I'll try 2.22 and will see. Thanks for the help!13:26
shuduozyga: seems candidate's ubuntu-core still use /snap/ubuntu-core. i even refresh latest version from edge channel.13:34
shuduozyga: seems candidate's ubuntu-core still use /snap/ubuntu-core. i even refresh latest version from edge channel now it works.13:47
shuduozyga: i tried candidate's ubuntu-core on 1610. it works to transition to core as expected. thanks.13:54
mupBug #1661966 opened: snapd should also have a 32bit nVidia mount point  <32bit> <i386> <nvidia> <snap-confine> <Snappy:New> <https://launchpad.net/bugs/1661966>15:15
threshso.. how does versioning in ubuntu store workds?15:26
threshworks15:26
threshright now I have the version, ahem, "daily" for VLC15:26
threshI would like to move to something like 3.0.0-$date, maybe followed by 3.0.0-release when the release version is there15:27
threshis it the same as in dpkg?15:27
threshcan I just bump the version the way I want, and it will automagically be updated for the end users?15:31
threshsorry for asking noob questions, I'm still the old fart using apt :-)15:31
palassothresh: 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 person15:47
palassothresh: I mean every time you publish a new snap for your application15:48
palassothresh: Revision is the counter being updated. Every new snap you upload increases revision by one. The version field can be anything15:49
palassothresh: 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 channel15:53
threshthank you palasso, it is now very clear15:58
okycan someone point me to the list of available snaps? i'm trying to determine how to name the snap i am creating16:01
oky(snap find times out for me, on my machine. btw)16:02
okyoops, there it goes!16:02
palassooky: https://uappexplorer.com/apps?type=snappy16:06
okyperfect, thanks palasso16:19
=== JanC is now known as Guest81504
=== JanC_ is now known as JanC
okyi'm trying out 'snapcraft cleanbuild', but the network is not getting attached to the lxc container20:31
okyi'm googling around, looking for troubleshooting tipcs, etc. any keywords that would help? i'm looking for 'snapcraft lxc network' and 'lxc network', etc.20:32
okyok, 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:32
okyso far, snapcraft is really cool - i like the idea of containment + wiring up multiple packages together21:34
okyi 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 think21:38
=== mcphail_ is now known as mcphail
swluohello?23:02
swluoanyone here?23:02

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!