Unfortunately, I get this error after execution:
ID: add-repo
Function: pkgrepo.managed
Name: deb http://repository.spotify.com stable non-free
Result: False
Comment: Failed to configure repo 'deb [trusted=yes]
http://repository.spotify.com stable non-free': Error: key
retrieval failed: Executing:
/tmp/apt-key-gpghome.xyY44SvGz1/gpg.1.sh --batch --keyserver
keys.openpgpg.org --logger-fd 1 --recv-keys 5E3C45D7B312C643
gpg: keyserver receive failed: Network is
unreachable
Any ideas how to fix that? Is that connected that templates are
using a proxy for outbound connections which salt is not able to
use for retrieving keys?
Btw. none of the options works: keyid + keyserver nor gpgkey. I
just added both of the in the salt snipped.
Thanks! P.
unman
unread,
Dec 4, 2021, 8:50:43 AM12/4/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qubes...@googlegroups.com
It is connected - you can find the solution online for using gpg behind
a proxy.
I have a note on this at http://github.com/unman/notes/ - that's a way
to get keys in to the template. Run that and keep the key retrieval out
of the salt state. Its workable.