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

Jian LUO at
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/"], [/* 32 vars */]) = -1 EPERM (Operation not

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
  - classic
  - classic.create
  - classic.reset
tracking:  beta
installed: 16.04 (17) 4kB devmode
refreshed: 2016-10-05 10:18:36 +0200 CEST
  beta:    16.04 (17) 0B devmode
  edge:    16.04 (17) 0B devmode

Thanks a lot.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Snapcraft mailing list