You are not logged in.

#1 2015-09-02 05:30:52

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

So why am i getting the error for key 5F702428F70E0903.  Does anybody have an updated url for this, or might it be something else?  I followed most the help on this, except for the SigLevel edits, that looked kind of like a pure unecessary hack. 
https://bbs.archlinux.org/viewtopic.php?id=180909
http://bbs.archbang.org/viewtopic.php?id=2547
http://bbs.bbqlinux.org/viewtopic.php?id=85
http://comments.gmane.org/gmane.linux.a … eral/53358

the date looks correct to me atleast, and this sudo pacman -S archlinux-keyring i cant run, because pacman wont run, its a fresh install yet...

Whats the correct way of getting this package key to match up so that the keyring is doing its job properly, so i can get pacstrap to lay in base?

I need to understand how i can better address only the single key issue, each time it comes up.

Last edited by wolfdogg (2015-09-02 08:32:30)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#2 2015-09-02 05:33:42

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

wolfdogg wrote:

its a fresh install yet...

Did you run pacman-key --init?

https://wiki.archlinux.org/index.php/Pacman-key

Offline

#3 2015-09-02 05:37:50

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

Yes for sure, and i just did it again to verify.. it doesnt kick back any errors.  what about something like this

pacman-key --keyserver hkp://pgp.mit.edu -r B02854ED753E0F1F

from one of the above linked posts.     I might be passing it wrong but i tried this to 3 different urls.  I think half of which was manual edits to gnupg.conf, other half was via command line like this, if i am understanding this correctly on how to pass in keys(to be verified server-side).

Whats the default port for whatever protocol hkp is?  ok just looked it up, was going to say 11371, that is.. http://tools.ietf.org/html/draft-shaw-openpgp-hkp-00

Edit, this just refreshed my memory what i ran into last night. 

So when i run this
pacman-key --keyserver hkp://pgp.mit.edu -r
with my key, im getting a dirmngr error..

gpg: connecting dirmngr at `/root/.gnupg/S.dirmngr` failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr

  So if i try to validate the key this way at mit, this is the error, and i dont know what dirmngr is at all.  is it a dir manager for gnupg, for pacman, or for what?  Should i delete root/.gnupg?  The last time i did that, i got an error on every single key... :-p   (im going through the wiki you linked, incase i missed something bluehackers, no wait, thats not it..  :-) )

and i WILL learn to use the preview button as much as i do the submit, just give me time, (or color it in :-) )

Last edited by wolfdogg (2015-09-02 06:07:36)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#4 2015-09-02 06:12:49

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

dirmngr is the program that actually fetch the key from the keyserver. And this message

gpg: connecting dirmngr at `/root/.gnuph/S.dirmngr`

is not an error, it only informs you that gpg is connecting to dirmngr using the socket file /root/.gnuph/S.dirmngr. Can you post the full output of pacman-key with the error message?

Can you also run the following commands

# killall dirmngr
# dirmngr --daemon --homedir /etc/pacman.d/gnupg/ -vvv --debug-level 6 &> dirmngr.log &
# gpg --verbose --homedir=/etc/pacman.d/gnupg --recv-key 5F702428F70E0903 &> gpg.log

and then post here the content of dirmngr.log and gpg.log?

--edit: Ok, sorry, you edited your post while I was posting this... see https://bugs.archlinux.org/task/42798. Can you try the procedure described here https://bbs.archlinux.org/viewtopic.php … 9#p1501589? If this does not work, the run the commands I posted above and post here the log files.

Last edited by mauritiusdadd (2015-09-02 06:18:57)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#5 2015-09-02 06:24:17

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

You know what, this is starting to catch me up where i left off yesterday, thanks.  So, i did see your post lastnight, and i did try to recursively remove roots gnupg directory, and i got the error im seeing now.  So, this is where i got brickwalled i think, because not knowing enough about lsof, or its equivalent, being in the live cd env, i couldnt find out what was running it, which i was going to kill.  what can i use to see whats running it?  Ie, a soon dead pid..

rm: cannot remove /etc/pacman.d/gnupg: Device or resource busy

edit: hmm, this kind of points it downstream, lower level of gnupg doesnt it... whats not releasing it?  And whats the easiest way to post the log files when booted in live cd?

killall
dirmngr: no process found
error opening /etc/pacman.d/gnupg//ldapservers.conf no such file or dir..
error binding socket to /root/.gnupd/S.dirmngr no such file or dir..

gpg errors

warning, unsafe permissions on homedir, no running Dirmngr, starting /usr/bin/dirmngr, waiting.... 54321, connecting at /root/.gnupg/S.dirmngr, failed IPC.. keyserver receive failed No dirmngr

Is the double slash the issue, or connection to ldap, or permies?

Also, incase it matters the live cd version im running is 2015.01.01, i dont know if there were any bugs in that release that may affect.

Last edited by wolfdogg (2015-09-02 06:55:47)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#6 2015-09-02 07:17:56

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

wolfdogg wrote:

incase it matters the live cd version im running is 2015.01.01

Use the current ISO version.

A lot has changed since January.


Jin, Jîyan, Azadî

Offline

#7 2015-09-02 07:30:56

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

wolfdogg wrote:

incase it matters the live cd version im running is 2015.01.01, i dont know if there were any bugs in that release that may affect.

You should really use the most recent ISO image, as suggested by Head_on_a_Stick.

wolfdogg wrote:

And whats the easiest way to post the log files when booted in live cd?

Please, take a look to the wiki (in particular to the "Tip" box) https://wiki.archlinux.org/index.php?ti … in_clients.

wolfdogg wrote:
rm: cannot remove /etc/pacman.d/gnupg: Device or resource busy

I don't know if you can even delete that directory in the live system... however, gpg is complaining about the missing file /root/.gnupd/S.dirmngr, so does /root/.gnupd even exist (If I remember correctly, some old ISO didn't have that directory despite it was needed to run dirmngr, that's why you should use the most recent one)? A quick fix is to run as root

# gpg --refresh-keys

or you can try to follow the instructions on the wiki https://wiki.archlinux.org/index.php/Pa … No_dirmngr.

--edit: typo

Last edited by mauritiusdadd (2015-09-02 07:34:11)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#8 2015-09-02 08:13:00

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

after i refreshed keys as outlined above, pacstrap had no keys.  then ran

pacman-key --init

Then i ran the pacstrap, got a screen full of errors ending moslyy in signature errors corrupted or invalid, with a question to delete it, which was apparently  answered antomatically, iterating through all sigs, then ending in

Error: failed to commit transaction, invalid or corrupted PGP Signatures.
ERROR: Failed to install packaged to new root.

About the pasties, i prefer wgetpaste, thats not my problem, i dont know how to install it using pacman in this live env.  Im going to look again if that info is in there, but i just cant install what i want to use, and need an alternative that works in the live env, or to figureout how to get pacman working again in this live env, its been a few for me, cant remember.

On the arch version: I specifically read that it doesnt matter what arch cd version i have, that its sort of isolated from the need to have the latest one upon reinstall since pacstrapping pulls from the internet.  I suspected what your suggesting, that there may be problems. but i didnt want to hear it.  Do i have to burn another cd?

Without further a-due, im already, as we speak, burning 2015.08.01 to a dvd.  i just noticed there is a 0901 also, oh well.  im going to stick with 0801, that should work right..

ill report back when i get back to this part, if i have issues or not, so can be resolved.  Thanks for the info thus far, its been really helpfully.

Last edited by wolfdogg (2015-09-02 08:25:52)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#9 2015-09-02 08:33:32

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

Yep, it was the version of the Arch CD i was using.  Well, i dont have time to go and find where i read that, but atleast i learned something new.


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#10 2015-09-02 08:34:41

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

wolfdogg wrote:

I prefer wgetpaste, thats not my problem, i dont know how to install it using pacman in this live env.  Im going to look again if that info is in there, but i just cant install what i want to use, and need an alternative that works in the live env

Just for the sake of the record, you don't need any pastebin tool:

https://wiki.archlinux.org/index.php?title=List_of_applications&redirect=no#Pastebin_clients wrote:

Tip: You can access the ptpb.pw, sprunge.us and ix.io pastebins using curl. For example pipe the output of a command to ptpb:

command | curl -F c=@- https://ptpb.pw 

or upload a file (including images):

curl -F c=@- https://ptpb.pw < file

curl is already in the ISO image wink


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#11 2015-09-02 08:53:27

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: pacstrap key cant be looked up remotely, missing from keyring [SOLVED]

Awesome, i use curl for alot of things, thats what i was asking you hit it on the head.  I definitely know its on the image, I have to remember piping command to curl like that, great tip!  And thanks alot for your help, you have been very helpful(All of you!)!  Im just trying to get a dual boot going here, i have other complications as well.  Kind regards

Last edited by wolfdogg (2015-09-02 08:56:41)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

Board footer

Powered by FluxBB