You are not logged in.

#1 2021-06-29 19:45:16

covid19
Member
From: Not Wuhan
Registered: 2020-04-20
Posts: 18

Key could not be looked up remotely

I'm trying to install a custom package on one of my VMs, I have the .sig file generated with makepkg. When I try to install on the target VM, pacman asks if :: Import PGP key 1234567890123456 "name <email>" [Y/n] y
It then returns errors
error: key "1234567890123456" could not be looked up remotely
error: required key missing from keyring
error: mypackage.tar.xz : unexpected error

I've looked through countless threads on these forums and in general Google, every single one telling to adjust/add the keyserver..........but if my key is LOCAL and generated locally, why would it exist on an external keyserver?
I haven't found a single thing about how to add my own key and get this package installed. So much redundant information on this one, I'm not trying to do anything very complex here...

Offline

#2 2021-06-29 19:57:53

loqs
Member
Registered: 2014-03-06
Posts: 13,701

Re: Key could not be looked up remotely

Offline

#3 2021-06-29 20:05:49

covid19
Member
From: Not Wuhan
Registered: 2020-04-20
Posts: 18

Re: Key could not be looked up remotely

That's the exact link I have open in the next tab over... I did pacman-key --add ~/path/to/keyfile.sig and everything beyond that just doesn't work

The --finger command says the key isn't found hmm

Last edited by covid19 (2021-06-29 20:06:30)

Offline

#4 2021-06-29 20:25:15

covid19
Member
From: Not Wuhan
Registered: 2020-04-20
Posts: 18

Re: Key could not be looked up remotely

This is what I'm looking at, even after attempting to lsign the key
[Removed, no option to attach images]

Last edited by covid19 (2021-06-29 21:28:49)

Offline

#5 2021-06-29 20:27:03

seth
Member
Registered: 2012-09-03
Posts: 22,358

Re: Key could not be looked up remotely

"pacman-key --verbose --add ~/path/to/keyfile" - ".sig" doesn't sound like it's actually a key? You need the public key, not the package signature.

Edit: also please replace the oversized image w/ a link/thumbnail. The board has a 200x200 limit.

Last edited by seth (2021-06-29 20:28:52)

Offline

Board footer

Powered by FluxBB