need help with freedomotic snappy app
mauro at freedomotic.com
mauro at freedomotic.com
Thu May 21 16:32:06 UTC 2015
Hi again
I got that my package is installed as sideload because it's not downloaded
from Ubuntu store.
I tried to install hello-world from the store but when I execute
hello-world.env I have the same permission error
(RaspberryPi2)ubuntu at localhost:~$ sudo snappy install
--allow-unauthenticated freedomotic_5.6.0_armhf.snap
Installing freedomotic_5.6.0_armhf.snap
2015/05/21 16:09:58 Signature check failed, but installing anyway as
requested
Name Date Version Developer
ubuntu-core 2015-04-23 2 ubuntu
freedomotic 2015-05-21 5.6.0 sideload
webdm 2015-05-19 0.6.1
pi2 2015-05-19 0.12
(RaspberryPi2)ubuntu at localhost:~$ freedomotic.start
mkdir: cannot create directory â/tmp/snaps/freedomotic.sideloadâ:
Permission denied
(RaspberryPi2)ubuntu at localhost:/tmp/snaps$ sudo snappy install hello-world
Installing hello-world
Starting download of hello-world
21.33 KB / 21.33 KB [=====================================] 100.00 % 48.74
KB/s
Done
Name Date Version Developer
ubuntu-core 2015-04-23 2 ubuntu
freedomotic 2015-05-21 5.6.0 sideload
hello-world 2015-05-21 1.0.15 canonical
webdm 2015-05-19 0.6.1
pi2 2015-05-19 0.12
(RaspberryPi2)ubuntu at localhost:/tmp/snaps$ hello-world.env
mkdir: cannot create directory â/tmp/snaps/hello-world.canonicalâ:
Permission denied
Thanks
On Thu, May 21, 2015 2:30 am, mauro at freedomotic.com wrote:
> Hi Sergio
> I tried with your image. The package is installed but under
> freedomotic.sideload in /apps not freedomotic. When I execute
> freedomotic.start there is a problem with mkdir. In attachment a
> screenshot.
>
> Maybe I'm missing something, but I don't know. The package works on
> beaglebone as reported by Jamie.
>
> Thanks
> Mauro
>
>
> On Wed, May 20, 2015 2:49 pm, mauro at freedomotic.com wrote:
>
>> Hi Sergio
>> I'm using the image in
>> http://people.canonical.com/~lool/pi2-device-and-oem/ as suggested on
>> Ubuntu site.
>> I'll try your image and let you know.
>> It should be better to have the "last updated" version on
>> https://developer.ubuntu.com/en/snappy/start/ to avoid confusion for new
>> users. On Raspberry Pi official site there is another image very
>> outdated (february 2015)
>>
>>
>>
>> Thanks Sergio
>> Have a nice evening
>>
>>
>>
>> On Wed, May 20, 2015 1:07 pm, Sergio Schvezov wrote:
>>
>>
>>> On Wed, May 20, 2015 at 12:49:54PM -0500, Jamie Strandboge wrote:
>>>
>>>
>>>
>>>> On 05/20/2015 12:29 PM, mauro at freedomotic.com wrote:
>>>>
>>>>
>>>>
>>>>> Hi Jamie
>>>>> after some reboots the package has been installed. But it can't
>>>>> start because it doesn't found freedomotic_start_5.6.0 profile
>>>>> (apparmor). I
>>>>> created a package based on your suggestion. There is another
>>>>> strange thing: the available executable is "start.freedomotic" not
>>>>> "freedomotic.start" as it should be(the same in your test).
>>>>> I attached a screenshot to show log messages.
>>>>>
>>>>>
>>>>>
>>>>>
>>>> I think this gets back to needing Loic to comment since
>>>> "start.freedomotic"
>>>> indicates your RaspberryPi2 image is out of date and doesn't seem to
>>>> be updating.
>>>
>>> Are you using an official image on the site? Indeed the image needs
>>> updating there. I have a similar one[1] here built from the latest
>>> stable 15.04 http://people.canonical.com/~sergiusens/snappy/pi2/ in
>>> case you want to quickly try it out.
>>>
>>> Cheers
>>> Sergio
>>>
>>>
>>>
>>>
>>> [1] with the same device tarball and a somewhat modified oem package
>>> with webdm preinstalled
>>>
>>> --
>>> snappy-devel mailing list snappy-devel at lists.ubuntu.com Modify
>>> settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>>>
>>>
>>>
>>
>>
>> --
>> snappy-devel mailing list snappy-devel at lists.ubuntu.com Modify settings
>> or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>>
>>
>
More information about the snappy-devel
mailing list