Re: snapd available in Trusty Tahr

2017-02-10 Thread Thomas Voß
On Fri, Feb 10, 2017 at 8:39 PM, Joseph Rushton Wakeling
 wrote:
> On 08/02/17 17:15, Joseph Rushton Wakeling wrote:
>>
>> On 07/02/17 21:17, Thomas Voß wrote:
>>>
>>>
>>> https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+bug/1655724
>>> was released to the updates pocket today.
>>
>>
>> Thanks!  I'll hopefully be able to report back to you tomorrow whether all
>> works
>> as expected.
>
>
> Just to confirm: today I was able to successfully install snapd on Ubuntu
> 14.04, with just the regular repositories enabled (no -proposed).  I was
> then able to successfully install and run snap packages (after a restart to
> ensure the PATH variable included /snap/bin).
>

\o/, thanks for your feedback :)

> Unfortunately being able to do this revealed some rather fundamental
> problems with the 'universality' of my LDC snap, but more on that in another
> thread ... ;-)
>

Watching the list, curious what you found out.

Thanks,

  Thomas

> Thanks to everyone who got snapd ported successfully to 14.04!
>
>
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snapcraft

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-10 Thread Joseph Rushton Wakeling

On 08/02/17 17:15, Joseph Rushton Wakeling wrote:

On 07/02/17 21:17, Thomas Voß wrote:

https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+bug/1655724
was released to the updates pocket today.


Thanks!  I'll hopefully be able to report back to you tomorrow whether all works
as expected.


Just to confirm: today I was able to successfully install snapd on Ubuntu 14.04, 
with just the regular repositories enabled (no -proposed).  I was then able to 
successfully install and run snap packages (after a restart to ensure the PATH 
variable included /snap/bin).


Unfortunately being able to do this revealed some rather fundamental problems 
with the 'universality' of my LDC snap, but more on that in another thread ... ;-)


Thanks to everyone who got snapd ported successfully to 14.04!

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-09 Thread XiaoGuo Liu
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ß 
wrote:

>
>
> On Thu, Feb 9, 2017 at 10:09 AM, XiaoGuo Liu 
> 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  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ß 
>>> wrote:
>>>


 On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu 
 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 
>> wrote:
>>>
>>>
>>>
>>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
>>> 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
>>> --
>>> 

Re: snapd available in Trusty Tahr

2017-02-09 Thread Thomas Voß
On Thu, Feb 9, 2017 at 10:09 AM, XiaoGuo Liu 
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  > 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  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ß 
>> wrote:
>>
>>>
>>>
>>> On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu 
>>> 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 
> wrote:
>>
>>
>>
>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
>> 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@

Re: snapd available in Trusty Tahr

2017-02-09 Thread XiaoGuo Liu
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 
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  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ß 
> wrote:
>
>>
>>
>> On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu 
>> 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 
 wrote:
>
>
>
> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
> 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/
> mailman/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


Re: snapd available in Trusty Tahr

2017-02-09 Thread Jamie Bennett
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  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ß  > wrote:
> 
> 
> On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu  > 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 
>  > wrote:
> Awesome, i am going to give this a try!
> 
> On 8 February 2017 8:01:30 am ACDT, Manik Taneja  > wrote:
> 
> 
> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth  > wrote:
> On 07/02/17 20:17, Thomas Voß wrote:
> > https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+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-
> 
> 
> 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/mailman/listinfo/snapcraft 
> 
> 
> 
> 
> 
> -- 
> XiaoGuo, Liu 
> 
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io 
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/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

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-09 Thread XiaoGuo Liu
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ß 
wrote:

>
>
> On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu 
> 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 
>>> wrote:



 On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
 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/
> mailman/listinfo/snapcraft
>
>


-- 
XiaoGuo, Liu
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-09 Thread Thomas Voß
On Thu, Feb 9, 2017 at 5:02 AM, XiaoGuo Liu 
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  com.au> wrote:
>
>> Awesome, i am going to give this a try!
>>
>> On 8 February 2017 8:01:30 am ACDT, Manik Taneja 
>> wrote:
>>>
>>>
>>>
>>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
>>> 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/
> mailman/listinfo/snapcraft
>
>
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-08 Thread XiaoGuo Liu
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

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 
> wrote:
>>
>>
>>
>> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
>> wrote:
>>
>>> On 07/02/17 20:17, Thomas Voß wrote:
>>> > https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-
>>> xenial/+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/
> mailman/listinfo/snapcraft
>
>


-- 
XiaoGuo, Liu
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-08 Thread Loïc Minier
Hi!

Awesome! Would be nice if this goodness would also be built for arm64:
libseccomp in xenial/xenial-updates wasn't attempted on arm64 albeit
xenial-backports carries an arm64 build, and snapd is blocked on that.

Cheers,
- Loïc


On Tue, Jan 31, 2017 at 2:01 PM, Jamie Bennett 
wrote:

> Hi,
>
> The team are pleased to announce that, after extensive testing in
> proposed, snapd is officially available in the Trusty Tahr updates archive
> [1]. If you are running a 14.04 system we encourage you to give it a try
> and report any issues [2]. Thanks to all involved in making this happen.
>
> Regards,
> Jamie.
>
> [1] https://launchpad.net/ubuntu/trusty/+source/snapd
> [2] https://bugs.launchpad.net/ubuntu/+source/snapd
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>



-- 
- Loïc
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-08 Thread Joseph Rushton Wakeling

On 07/02/17 21:17, Thomas Voß wrote:

https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+bug/1655724
was released to the updates pocket today.


Thanks!  I'll hopefully be able to report back to you tomorrow whether all works 
as expected.



--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-08 Thread Andrew Mason
Awesome, i am going to give this a try!

On 8 February 2017 8:01:30 am ACDT, Manik Taneja  wrote:
>On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth 
>wrote:
>
>> On 07/02/17 20:17, Thomas Voß wrote:
>> > https://bugs.launchpad.net/ubuntu/+source/xorg-server-
>> lts-xenial/+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/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-07 Thread Mark Shuttleworth
On 07/02/17 21:31, Manik Taneja wrote:
>
>
> On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth  > wrote:
>
> On 07/02/17 20:17, Thomas Voß wrote:
> >
> 
> https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+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-
>
> Inline image 1
> Kudos to everyone involved in delivering this!
>

Also my favorite snap :)

Mark
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-07 Thread Manik Taneja
On Tue, Feb 7, 2017 at 12:36 PM, Mark Shuttleworth  wrote:

> On 07/02/17 20:17, Thomas Voß wrote:
> > https://bugs.launchpad.net/ubuntu/+source/xorg-server-
> lts-xenial/+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
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-07 Thread Mark Shuttleworth
On 07/02/17 20:17, Thomas Voß wrote:
> https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+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.

Mark

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-07 Thread Thomas Voß
https://bugs.launchpad.net/ubuntu/+source/xorg-server-lts-xenial/+bug/1655724
was released to the updates pocket today.

Cheers,

  Thomas

On Thu, Feb 2, 2017 at 8:38 AM, Thomas Voß  wrote:
> On Thu, Feb 02, 2017 at 12:51:59AM +0100, Joseph Rushton Wakeling wrote:
>> On 31/01/17 14:01, Jamie Bennett wrote:
>> > Hi,
>> >
>> > The team are pleased to announce that, after extensive testing in 
>> > proposed, snapd is officially available in the Trusty Tahr updates archive 
>> > [1]. If you are running a 14.04 system we encourage you to give it a try 
>> > and report any issues [2]. Thanks to all involved in making this happen.
>> >
>> > Regards,
>> > Jamie.
>> >
>> > [1] https://launchpad.net/ubuntu/trusty/+source/snapd
>> > [2] https://bugs.launchpad.net/ubuntu/+source/snapd
>>
>> I tried this earlier today on a Trusty machine and ran into some
>> difficulties installing.  `sudo apt install snapd` resulted in the following
>> error message:
>>
>> snapd: Depends: systemd (>= 204-5ubuntu20.20) but it is not going to be
>> installed
>>
>> Attempting to install systemd directly (to work out what was wrong) resulted
>> in something similar:
>>
>> gnome-control-center: Depends: libcheese-gtk23 (>= 3.4.0) but it is not
>> going to be installed
>>libcheese7 (>= 3.0.1) ...
>>
>> ubuntu-control-center: Depends: libcheese-gtk23 (>= 3.4.0) ...
>> libcheese7 (>= 3.0.1) ...
>>
>> Any thoughts on what could be wrong here?
>>
>
> Yup, you are hit by the issue described in here:
>
>   
> http://askubuntu.com/questions/878750/snapd-package-conflicts-with-xorg-packages/878770#878770
>
> In summary, we are waiting for an SRU (see [1]) for the xorg xenial lts stack 
> to
> arrive in -updates. The short term fix is to enable -proposed. If that
> does not solve your issue, please report a bug against
> https://launchpad.net/snapd tagging it with trusty.
>
> Thanks for trying out snapd on trusty,
>
>   Thomas
>
> [1] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1619142
>
>> --
>> Snapcraft mailing list
>> Snapcraft@lists.snapcraft.io
>> Modify settings or unsubscribe at: 
>> https://lists.ubuntu.com/mailman/listinfo/snapcraft

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-01 Thread Thomas Voß
On Thu, Feb 02, 2017 at 12:51:59AM +0100, Joseph Rushton Wakeling wrote:
> On 31/01/17 14:01, Jamie Bennett wrote:
> > Hi,
> > 
> > The team are pleased to announce that, after extensive testing in proposed, 
> > snapd is officially available in the Trusty Tahr updates archive [1]. If 
> > you are running a 14.04 system we encourage you to give it a try and report 
> > any issues [2]. Thanks to all involved in making this happen.
> > 
> > Regards,
> > Jamie.
> > 
> > [1] https://launchpad.net/ubuntu/trusty/+source/snapd
> > [2] https://bugs.launchpad.net/ubuntu/+source/snapd
> 
> I tried this earlier today on a Trusty machine and ran into some
> difficulties installing.  `sudo apt install snapd` resulted in the following
> error message:
> 
> snapd: Depends: systemd (>= 204-5ubuntu20.20) but it is not going to be
> installed
> 
> Attempting to install systemd directly (to work out what was wrong) resulted
> in something similar:
> 
> gnome-control-center: Depends: libcheese-gtk23 (>= 3.4.0) but it is not
> going to be installed
>libcheese7 (>= 3.0.1) ...
> 
> ubuntu-control-center: Depends: libcheese-gtk23 (>= 3.4.0) ...
> libcheese7 (>= 3.0.1) ...
> 
> Any thoughts on what could be wrong here?
> 

Yup, you are hit by the issue described in here:

  
http://askubuntu.com/questions/878750/snapd-package-conflicts-with-xorg-packages/878770#878770

In summary, we are waiting for an SRU (see [1]) for the xorg xenial lts stack to
arrive in -updates. The short term fix is to enable -proposed. If that
does not solve your issue, please report a bug against
https://launchpad.net/snapd tagging it with trusty.

Thanks for trying out snapd on trusty,

  Thomas

[1] https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1619142

> -- 
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: 
> https://lists.ubuntu.com/mailman/listinfo/snapcraft


signature.asc
Description: PGP signature
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-01 Thread Seth Arnold
On Thu, Feb 02, 2017 at 12:51:59AM +0100, Joseph Rushton Wakeling wrote:
> snapd: Depends: systemd (>= 204-5ubuntu20.20) but it is not going to be
> installed

Not just any systemd will do, make sure you get one with 'deputy'
mentioned somewhere in the changelogs:

https://bugs.launchpad.net/ubuntu/trusty/+source/systemd/+bug/1656280

Thanks


signature.asc
Description: PGP signature
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-02-01 Thread Joseph Rushton Wakeling

On 31/01/17 14:01, Jamie Bennett wrote:

Hi,

The team are pleased to announce that, after extensive testing in proposed, 
snapd is officially available in the Trusty Tahr updates archive [1]. If you 
are running a 14.04 system we encourage you to give it a try and report any 
issues [2]. Thanks to all involved in making this happen.

Regards,
Jamie.

[1] https://launchpad.net/ubuntu/trusty/+source/snapd
[2] https://bugs.launchpad.net/ubuntu/+source/snapd


I tried this earlier today on a Trusty machine and ran into some difficulties 
installing.  `sudo apt install snapd` resulted in the following error message:


snapd: Depends: systemd (>= 204-5ubuntu20.20) but it is not going to be 
installed


Attempting to install systemd directly (to work out what was wrong) resulted in 
something similar:


gnome-control-center: Depends: libcheese-gtk23 (>= 3.4.0) but it is not 
going to be installed

   libcheese7 (>= 3.0.1) ...

ubuntu-control-center: Depends: libcheese-gtk23 (>= 3.4.0) ...
libcheese7 (>= 3.0.1) ...

Any thoughts on what could be wrong here?

--
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: snapd available in Trusty Tahr

2017-01-31 Thread Mark Shuttleworth
On 31/01/17 13:01, Jamie Bennett wrote:
> The team are pleased to announce that, after extensive testing in proposed, 
> snapd is officially available in the Trusty Tahr updates archive [1]. If you 
> are running a 14.04 system we encourage you to give it a try and report any 
> issues [2]. Thanks to all involved in making this happen.

The work involved in getting snapd onto 14.04 will also help enable
snapd on non-systemd distros, so testing a range of snaps would be very
useful. Thanks!

Mark

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft