snapd available in Trusty Tahr

XiaoGuo Liu xiaoguo.liu at canonical.com
Thu Feb 9 09:09:35 UTC 2017


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.

Thanks & bestt regards,
XiaoGuo

On Thu, Feb 9, 2017 at 5:05 PM, Jamie Bennett <jamie.bennett at 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.liu at 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.voss at canonical.com>
> wrote:
>
>>
>>
>> On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu <xiaoguo.liu at 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 at 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 at 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 at liuxg:~$ lsb_release -a
>>> No LSB modules are available.
>>> Distributor ID: Ubuntu
>>> Description: Ubuntu 14.04.5 LTS
>>> Release: 14.04
>>> Codename: trusty
>>>
>>> liuxg at 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 <
>>> andrew at miniatureworldmaker.com.au> wrote:
>>>
>>>> Awesome, i am going to give this a try!
>>>>
>>>> On 8 February 2017 8:01:30 am ACDT, Manik Taneja <manik at canonical.com>
>>>> wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth <mark at 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 at lists.snapcraft.io
>>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>>> an/listinfo/snapcraft
>>>>
>>>>
>>>
>>>
>>> --
>>> XiaoGuo, Liu
>>>
>>> --
>>> Snapcraft mailing list
>>> Snapcraft at lists.snapcraft.io
>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>> an/listinfo/snapcraft
>>>
>>>
>>
>> --
>> Snapcraft mailing list
>> Snapcraft at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/snapcraft
>>
>>
>
>
> --
> XiaoGuo, Liu
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
XiaoGuo, Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170209/67159b7f/attachment.html>


More information about the Snapcraft mailing list