You are not logged in.

#1 2017-11-07 12:55:25

UglyBob
Member
Registered: 2015-11-29
Posts: 54

Refreshing keys never completes

Having problems updating with pacman due to some key problem. I'm trying to clear my keys and download them again by doing this:

# rm -R /etc/pacman.d/gnupg/
# rm -R /root/.gnupg/
# gpg --refresh-keys
# pacman-key --init && pacman-key --populate
# pacman-key --refresh-keys

The problem though is that refresh keys never completes, just hanging. This is the log from all the commands:

# rm -R /etc/pacman.d/gnupg/
# rm -R /root/.gnupg/
rm: cannot remove '/root/.gnupg/': No such file or directory
# gpg --refresh-keys
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
# pacman-key --init && pacman-key --populate
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 51CB06580235C119 marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/731B4AF09F5AAF1B93F68E4551CB06580235C119.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Appending keys from archlinux.gpg...
key AFF5D95098BC6FF5:
4 signatures not checked due to missing keys
key FC1B547C8D8172C8:
6 signatures not checked due to missing keys
key E62F853100F0D0F0:
14 signatures not checked due to missing keys
key 5C2E46A0F53A76ED:
4 signatures not checked due to missing keys
key DA6426DD215B37AD:
19 signatures not checked due to missing keys
key A5E9288C4FA415FA:
14 signatures not checked due to missing keys
key C06086337C50773E:
1 signature not checked due to a missing key
key 06096A6AD1CEDDAC:
1 signature not checked due to a missing key
key 7F2D434B9741E8AC:
2 signatures not checked due to missing keys
key 206CBC892D1493D2:
2 signatures not checked due to missing keys
key 8DBD63B82072D77A:
2 signatures not checked due to missing keys
key 284FC34C8E4B1A25:
1 signature not checked due to a missing key
key 654B877A0864983E:
2 signatures not checked due to missing keys
==> Locally signing trusted keys in keyring...
  -> Locally signing key DDB867B92AA789C165EEFA799B729B06A680C281...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
  -> Disabling key 40440DC037C05620984379A6761FAD69BA06C6A9...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key 5E7585ADFF106BFFBBA319DC654B877A0864983E...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   6  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   6  signed:  72  trust: 0-, 0q, 0n, 6m, 0f, 0u
gpg: depth: 2  valid:  71  signed:  10  trust: 71-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2018-06-25
# pacman-key --refresh-keys
gpg: refreshing 94 keys from hkp://pool.sks-keyservers.net

I'm at work, so there is an annoying proxy I might add, but I have it configured in the environment variable http_proxy.

Last edited by UglyBob (2017-11-07 12:56:28)

Offline

#2 2017-11-07 13:05:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Refreshing keys never completes


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-11-07 13:40:40

UglyBob
Member
Registered: 2015-11-29
Posts: 54

Re: Refreshing keys never completes

It feels like that guide is not valid or something is wrong with my system:

$ cat /etc/gnupg/dirmngr.conf
cat: /etc/gnupg/dirmngr.conf: No such file or directory
$ cat /etc/pacman.d/gnupg/dirmngr.conf
cat: /etc/pacman.d/gnupg/dirmngr.conf: No such file or directory

Offline

#4 2017-11-07 15:57:04

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: Refreshing keys never completes

The guide is valid and everything is ok with your system: you got to add those files, there's no config file for the default config.
See "man dirmngr" on details:

       dirmngr.conf
              This is the standard configuration file read by dirmngr on startup.  It may contain any valid long option; the
              leading  two  dashes may not be entered and the option may not be abbreviated.  This file is also read after a
              SIGHUP however not all options will actually have an effect.  This default name may be changed on the  command
              line (see: [option --options]).  You should backup this file.

Offline

Board footer

Powered by FluxBB