GPG error during "sudo apt update" in "classic" snap
Jian LUO
jian.luo.cn at gmail.com
Mon Jan 23 13:51:42 UTC 2017
Hi Gustavo,
Unfortunately the stock kernel refused to run on my target. Would it be
useful if I upload my kernel configuration?
I got same error message on another omap4460 target which runs
ti-rt-linux-4.4.y[1]. My rpi 2 w/ official image however does not have this
problem.
I'll try kernel w/o real-time patch next time. Will let you guys know if it
works. Or if someone can kindly show me where can I find a functional BBB
kernel (ideally w/ snapcraft.yaml), I'll try it on the omap 4460 target.
Thanks!
Jian
[1] git.ti.com/ti-linux-kernel
On Jan 23, 2017 13:45, "Gustavo Niemeyer" <gustavo at niemeyer.net> wrote:
This smells like an apparmor denial, which shouldn't happen inside the
classic snap itself.
Can you reproduce the issue when using the stock kernel?
On Fri, Jan 20, 2017 at 6:46 PM, Jian LUO <jian.luo.cn at gmail.com> wrote:
> Hi list,
>
> as the topic suggested I got GPG error in classic snap exactly like Bug
> #1577926 [1] described. strace leads me to this syscall error:
> [pid 2650] execve("/usr/bin/apt-key", ["/usr/bin/apt-key", "--quiet",
> "--readonly", "verify", "--status-fd", "3", "/tmp/apt.sig.usElcl",
> "/tmp/apt.data.BATaU7"], [/* 32 vars */]) = -1 EPERM (Operation not
> permitted)
>
> Since I use a custom kernel, I assume some config options and/or patches
> are missing. Can someone please give a hint on the necessary kernel configs
> for classic to work?
>
> Here is some info on my device.
> root at localhost:~# uname -a
> Linux localhost.localdomain 4.4.24-rt33-xm21-i40-debug+ #1 PREEMPT RT Tue
> Nov 22 16:10:15 CET 2016 i686 i686 i686 GNU/Linux
> root at localhost:~# snap --version
> snap 2.20
> snapd 2.20
> series 16
> root at localhost:~# snap info classic
> name: classic
> summary: "Classic environment"
> publisher: canonical
> description: |
> Classic environment
> commands:
> - classic
> - classic.create
> - classic.reset
> tracking: beta
> installed: 16.04 (17) 4kB devmode
> refreshed: 2016-10-05 10:18:36 +0200 CEST
> channels:
> beta: 16.04 (17) 0B devmode
> edge: 16.04 (17) 0B devmode
>
> Thanks a lot.
>
> Jian
>
> [1] https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1577926
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
>
--
gustavo @ http://niemeyer.net
--
Snapcraft mailing list
Snapcraft at lists.snapcraft.io
Modify settings or unsubscribe at: https://lists.ubuntu.com/
mailman/listinfo/snapcraft
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170123/0a986fbc/attachment.html>
More information about the Snapcraft
mailing list