GPG error during "sudo apt update" in "classic" snap

Jian LUO jian.luo.cn at gmail.com
Fri Jan 20 20:46:54 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170120/21b1403f/attachment.html>


More information about the Snapcraft mailing list