Hi Thomas, Thanks. I have reported a bug at https://bugs.launchpad.net/snapd/+bug/1663174
Best regards, XiaoGuo On Thu, Feb 9, 2017 at 5:11 PM, Thomas Voß <thomas.v...@canonical.com> wrote: > > > On Thu, Feb 9, 2017 at 10:09 AM, XiaoGuo Liu <xiaoguo....@canonical.com> > wrote: > >> Hi Jamie, >> >> For my case, right now, after I log out and login again (in fact, I >> rebooted my machine). the /snap/bin path is still not added. Everything is >> still the same. I cannot execute the "hello-word" snap app. I do not know >> where I did wrongly. >> >> > In this case, please file a bug against launchpad.net/snapd, and tag it > with trusty. /snap/bin should be in your PATH after a reboot. > > Thanks, > > Thomas > > > >> Thanks & bestt regards, >> XiaoGuo >> >> On Thu, Feb 9, 2017 at 5:05 PM, Jamie Bennett < >> jamie.benn...@canonical.com> wrote: >> >>> The simplest way is to log out and back in again. We are looking at >>> other options on how to make this easier. >>> >>> Regards, >>> Jamie. >>> >>> On 9 Feb 2017, at 09:02, XiaoGuo Liu <xiaoguo....@canonical.com> wrote: >>> >>> Hi Thomas, >>> >>> So, an end user needs to manually add the path, right? It is not a >>> little bit straightforward though. I think it would be good to come with >>> detailed instructions. >>> >>> Thanks & best regards, >>> XiaoGuo >>> >>> >>> On Thu, Feb 9, 2017 at 4:39 PM, Thomas Voß <thomas.v...@canonical.com> >>> wrote: >>> >>>> >>>> >>>> On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu <xiaoguo....@canonical.com> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I just tried to install the snapd and installed a hello-world snap app >>>>> on 14.04 desktop. However, I found a problem. When I un the hello-world, >>>>> it >>>>> shows: >>>>> >>>>> liuxg@liuxg:/snap/bin$ hello-world >>>>> hello-world: command not found >>>>> >>>>> >>>> This is expected behavior right now. PATH is adjusted in >>>> /etc/profile.d/apps-bin-path.sh (comes with the snapd package). >>>> /etc/profile and the entries in /etc/profile.d/* are only considered for >>>> login shells. With that, a reboot, logout/login, or sourcing /etc/profile >>>> in your current shell will give you the correct PATH setup. >>>> >>>> We are looking into letting the user know when installing the debian >>>> package (as opposed to the situation where snapd is already part of the >>>> image). See https://github.com/snapcore/snapd/pull/2819 for reference. >>>> >>>> Thanks for testing, >>>> >>>> Thomas >>>> >>>> >>>> >>>>> Which means that /snap/bin path is not added to the path after >>>>> installing the core. Also, when I run it under the /snap/bin, it shows: >>>>> >>>>> liuxg@liuxg:/snap/bin$ ./hello-world >>>>> ERROR: ld.so: object '/lib/$LIB/liblsp.so' from /etc/ld.so.preload >>>>> cannot be preloaded (cannot open shared object file): ignored. >>>>> ERROR: ld.so: object '/lib/$LIB/liblsp.so' from /etc/ld.so.preload >>>>> cannot be preloaded (cannot open shared object file): ignored. >>>>> Hello World! >>>>> >>>>> My desktop info is: >>>>> >>>>> liuxg@liuxg:~$ lsb_release -a >>>>> No LSB modules are available. >>>>> Distributor ID: Ubuntu >>>>> Description: Ubuntu 14.04.5 LTS >>>>> Release: 14.04 >>>>> Codename: trusty >>>>> >>>>> liuxg@liuxg:~$ snap list >>>>> Name Version Rev Developer Notes >>>>> core 16.04.1 888 canonical - >>>>> hello-world 6.3 27 canonical - >>>>> >>>>> Thanks & best regards, >>>>> XiaoGuo >>>>> >>>>> >>>>> On Wed, Feb 8, 2017 at 5:35 AM, Andrew Mason < >>>>> and...@miniatureworldmaker.com.au> wrote: >>>>> >>>>>> Awesome, i am going to give this a try! >>>>>> >>>>>> On 8 February 2017 8:01:30 am ACDT, Manik Taneja <ma...@canonical.com> >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth <m...@ubuntu.com> >>>>>>> wrote: >>>>>>> >>>>>>>> On 07/02/17 20:17, Thomas Voß wrote: >>>>>>>> > https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xe >>>>>>>> nial/+bug/1655724 >>>>>>>> > was released to the updates pocket today. >>>>>>>> >>>>>>>> Congrats! Quick feedback from folks with Trusty (14.04 LTS) systems, >>>>>>>> cloud or desktop, would be welcome. Pick a favorite snap and take >>>>>>>> it for >>>>>>>> a spin. >>>>>>>> >>>>>>> The experience is very clean now. I just tried on AWS and have >>>>>>> RocketChat up and >>>>>>> running- >>>>>>> >>>>>>> [image: Inline image 1] >>>>>>> Kudos to everyone involved in delivering this! >>>>>>> >>>>>>> Cheers, >>>>>>> Manik >>>>>>> >>>>>> >>>>>> -- >>>>>> Sent from my mobile device. >>>>>> >>>>>> -- >>>>>> Snapcraft mailing list >>>>>> Snapcraft@lists.snapcraft.io >>>>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >>>>>> an/listinfo/snapcraft >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> XiaoGuo, Liu >>>>> >>>>> -- >>>>> Snapcraft mailing list >>>>> Snapcraft@lists.snapcraft.io >>>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >>>>> an/listinfo/snapcraft >>>>> >>>>> >>>> >>>> -- >>>> Snapcraft mailing list >>>> Snapcraft@lists.snapcraft.io >>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >>>> an/listinfo/snapcraft >>>> >>>> >>> >>> >>> -- >>> XiaoGuo, Liu >>> -- >>> Snapcraft mailing list >>> Snapcraft@lists.snapcraft.io >>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >>> an/listinfo/snapcraft >>> >>> >>> >>> -- >>> Snapcraft mailing list >>> Snapcraft@lists.snapcraft.io >>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >>> an/listinfo/snapcraft >>> >>> >> >> >> -- >> XiaoGuo, Liu >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/snapcraft >> >> > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > > -- XiaoGuo, Liu
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft