You are not logged in.

#1 2015-02-21 10:37:07

blattlaus
Member
Registered: 2014-04-11
Posts: 9

Pacman stops at "downloading required keys..."

Hi,

I am not able to do a system update anymore. Pacman always hangs after printing "downloading required keys...". I waited up to one hour, but nothing changed.

Here a typical pacman output:

I110946rainere330/etc/pacman.d% s pacman -Syu        
[sudo] password for rainer: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace libreoffice-still-base with extra/libreoffice-still? [Y/n] 
:: Replace libreoffice-still-calc with extra/libreoffice-still? [Y/n] 
:: Replace libreoffice-still-common with extra/libreoffice-still? [Y/n] 
:: Replace libreoffice-still-impress with extra/libreoffice-still? [Y/n] 
:: Replace libreoffice-still-writer with extra/libreoffice-still? [Y/n] 
:: Replace xf86-video-modesetting with extra/xorg-server? [Y/n] 
resolving dependencies...
looking for conflicting packages...
:: xorg-server and xf86-video-ast are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-ast? [y/N] y
:: xorg-server and xf86-video-cirrus are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-cirrus? [y/N] y
:: xorg-server and xf86-video-mga are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-mga? [y/N] y
:: xorg-server and xf86-video-v4l are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-v4l? [y/N] y

Packages (196) akonadi-1.13.0-3  archlinux-keyring-20150212-1  binutils-2.25-2  bluez-5.28-1  bluez-libs-5.28-1  bluez-utils-5.28-1
               ca-certificates-mozilla-3.17.4-1  chromium-40.0.2214.115-1  clutter-1.20.0-3  cmake-3.1.3-1  couchdb-1.6.1-3  cups-2.0.2-1
               cups-filters-1.0.65-1  cython2-0.22-1  dbus-1.8.16-1  device-mapper-2.02.116-1  dhcpcd-6.7.1-1  djvulibre-3.5.27-1  exempi-2.2.2-1
               fcitx-libpinyin-0.3.1-2  ffmpeg-1:2.5.4-1  flashplugin-11.2.202.442-1  gcc-4.9.2-3  gcc-fortran-4.9.2-3  gcc-libs-4.9.2-3  gd-2.1.1-1
               gdal-1.11.1-6  gedit-3.14.3-1  geoip-database-20150203-1  ghostscript-9.15-2  giflib-5.1.1-1  git-2.3.0-1  glew-1.12.0-1  glibc-2.21-2
               gnupg-2.1.2-1  gtk-update-icon-cache-2.24.26-1  gtk2-2.24.26-1  gvim-7.4.617-1  hostapd-2.3-3  hplip-3.15.2-3  hwids-20150129-1
               hwloc-1.10.1-1  ibus-libpinyin-1.6.99.20150203-1  inkscape-0.91-3  ipython-2.4.1-1  jemalloc-3.6.0-1  josm-7995-1  kdebase-runtime-14.12.2-2
               kdegames-kigo-14.12.2-1  kdegraphics-mobipocket-14.12.2-1  kdelibs-4.14.5-1  kdepimlibs-4.14.5-1  krb5-1.13.1-1  lib32-gcc-libs-4.9.2-3
               lib32-glibc-2.21-2  lib32-krb5-1.13.1-1  lib32-libcups-2.0.2-1  lib32-libdbus-1.8.16-1  lib32-libgpg-error-1.18-1  lib32-libltdl-2.4.5-1
               lib32-libpciaccess-0.13.3-1  lib32-libpulse-6.0-1  lib32-mesa-10.4.4-1  lib32-mesa-libgl-10.4.4-1  lib32-sqlite-3.8.8.2-1
               lib32-wayland-1.6.1-1  libcanberra-0.30-5  libcanberra-pulse-0.30-5  libcdr-0.1.1-1  libcups-2.0.2-1  libdatrie-0.2.8-1  libdbus-1.8.16-1
               libdc1394-2.2.3-1  libdmtx-0.7.4-5  libetonyek-0.1.1-1  libgpg-error-1.18-1  libgphoto2-2.5.7-1  libical-1.0.1-2  libinput-0.10.0-1
               libiodbc-3.52.9-2  libkdegames-14.12.2-1  libmm-glib-1.4.4-1  libmspub-0.1.2-1  libnice-0.1.10-1  libnm-glib-1.0.0-2  libpciaccess-0.13.3-1
               libpinyin-1.0.99.20150212-1  libpulse-6.0-1  libreoffice-still-4.3.5-1  libreoffice-still-base-4.2.8-2 [removal]
               libreoffice-still-calc-4.2.8-2 [removal]  libreoffice-still-common-4.2.8-2 [removal]  libreoffice-still-de-4.3.5-1
               libreoffice-still-impress-4.2.8-2 [removal]  libreoffice-still-writer-4.2.8-2 [removal]  libsystemd-218-2  libthai-0.1.21-1  linux-3.18.6-1
               linux-api-headers-3.18.5-1  linux-firmware-20150206.17657c3-1  lirc-1:0.9.2.a-1  lua-bitop-1.0.2-5  lua51-bitop-1.0.2-5  lvm2-2.02.116-1
               lzo-2.09-1  mariadb-10.0.16-1  mariadb-clients-10.0.16-1  media-player-info-22-1  mesa-10.4.4-1  mesa-libgl-10.4.4-1  mkvtoolnix-cli-7.6.0-1
               mpv-0.8.0-2  net-snmp-5.7.3-1  nfs-utils-1.3.2-3  nspr-4.10.8-1  nss-3.17.4-1  ntp-4.2.8.p1-1  openimageio-1.4.15-2  oxygen-icons-14.12.2-1
               p7zip-9.38-2  patch-2.7.4-1  perl-5.20.2-1  perl-error-0.17023-1  poppler-0.30.0-1  poppler-glib-0.30.0-1  poppler-qt4-0.30.0-1
               postgresql-libs-9.4.1-1  powertop-2.7-2  prison-1.1.1-1  protobuf-c-1.1.0-1  pulseaudio-6.0-1  pyqt4-common-4.11.3-2  python-lxml-3.4.2-1
               python-setuptools-1:12.2-1  python2-beaker-1.6.5-1  python2-lxml-3.4.2-1  python2-pillow-2.7.0-1  python2-pip-6.0.8-1  python2-pyglet-1.2.0-1
               python2-pyqt4-4.11.3-2  python2-reportlab-3.1.44-1  python2-setuptools-1:12.2-1  qcad-3.8.1.0-2  qjson-0.8.1-3  rpcbind-0.2.2-2
               shared-mime-info-1.4-1  speex-1.2rc2-1  speexdsp-1.2rc3-1  sqlite-3.8.8.2-1  sudo-1.8.12-1  systemd-218-2  systemd-sysvcompat-218-2
               texlive-bin-2014.34260-5  thunar-1.6.5-1  tomcat6-6.0.43-2  tp_smapi-0.41-62  ttf-dejavu-2.34-2  tzdata-2015a-1  udisks2-2.1.4-1
               unrar-1:5.2.6-1  v4l-utils-1.6.2-1  valgrind-3.10.1-2  vim-runtime-7.4.617-1  virtualbox-4.3.22-2  virtualbox-host-modules-4.3.22-1
               wayland-1.7.0-1  wine-1.7.36-1  x265-1.5-1  xf86-video-ark-0.7.5-6  xf86-video-ast-0.97.0-5 [removal]  xf86-video-ati-1:7.5.0-2
               xf86-video-cirrus-1.5.2-4 [removal]  xf86-video-dummy-0.3.7-4  xf86-video-fbdev-0.4.4-4  xf86-video-glint-1.2.8-6  xf86-video-i128-1.3.6-6
               xf86-video-intel-2.99.917-3  xf86-video-mach64-6.9.4-5  xf86-video-mga-1.6.3-3 [removal]  xf86-video-modesetting-0.9.0-2 [removal]
               xf86-video-neomagic-1.2.8-4  xf86-video-nouveau-1.0.11-3  xf86-video-nv-2.1.20-6  xf86-video-openchrome-0.3.3-5  xf86-video-r128-6.9.2-4
               xf86-video-savage-2.3.7-4  xf86-video-siliconmotion-1.7.7-6  xf86-video-sis-0.10.7-7  xf86-video-tdfx-1.4.5-6  xf86-video-trident-1.3.6-7
               xf86-video-v4l-0.2.0-14 [removal]  xf86-video-vesa-2.3.2-6  xf86-video-vmware-13.1.0-2  xf86-video-voodoo-1.2.5-6  xorg-server-1.17.1-1
               xorg-server-common-1.17.1-1

Total Installed Size:  2765.08 MiB
Net Upgrade Size:       224.17 MiB

:: Proceed with installation? [Y/n] y
(186/186) checking keys in keyring                                                             [########################################################] 100%
downloading required keys...

II also searched the Arch linux forums, where they suggested to remove the gnupg folder and re initialize the key stuff in case of Problems. I tried this (see below) but it is still not working.

I110852rainere330/etc/pacman.d% s mv gnupg gnupg_back
[sudo] password for rainer: 
I110843rainere330~% s pacman-key --init 
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 9F24F389 marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
I111435rainere330~% s pacman-key --list-keys 
[sudo] password for rainer: 
/etc/pacman.d/gnupg/pubring.gpg
-------------------------------
pub   rsa2048/9F24F389 2015-02-21
uid       [ultimate] Pacman Keyring Master Key <pacman@localhost>

I111546rainere330~% s pacman-key --populate 
==> Appending keys from archlinux.gpg...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   5  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   5  signed:  62  trust: 0-, 0q, 0n, 5m, 0f, 0u
gpg: depth: 2  valid:  60  signed:   5  trust: 60-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2016-01-22
I111554rainere330~% s pacman-key --updatedb 
==> Updating trust database...
gpg: next trustdb check due at 2016-01-22

I also found out, that "pacman-key --refresh-keys" is not working, in a similar way to the pacman update problem. I just prints "gpg: refreshing 78 keys from hkp://pool.sks-keyservers.net" and then hangs forever.
I read the arch linux wiki page, and tried to use different keyservers and ports and protocols, but no success (see below (I cancelled everytime with Ctrl + C), after seeing no progress)

I111605rainere330~% s pacman-key --refresh-keys 
gpg: refreshing 78 keys from hkp://pool.sks-keyservers.net
^C
gpg: signal Interrupt caught ... exiting
I111925rainere330~% s pacman-key --refresh-keys --keyserver hkp://pgp.mit.edu
gpg: refreshing 78 keys from hkp://pgp.mit.edu
^C
gpg: signal Interrupt caught ... exiting
I112000rainere330~% s pacman-key --refresh-keys --keyserver  http://keyserver.ubuntu.com
gpg: refreshing 78 keys from http://keyserver.ubuntu.com
^C
gpg: signal Interrupt caught ... exiting
I112104rainere330~% s pacman-key --refresh-keys --keyserver hkp://pgp.mit.edu:11371     
gpg: refreshing 78 keys from hkp://pgp.mit.edu:11371
^C
gpg: signal Interrupt caught ... exiting
I112204rainere330~% 

Does anyone have any ideas on what the problem might be?

Offline

#2 2015-02-21 11:14:41

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: Pacman stops at "downloading required keys..."

Is the date&time set correctly on this machine? Also; the refresh-keys commands hang here as well, does pacman still fail after re-initing?

Offline

#3 2015-02-21 11:16:44

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,547
Website

Re: Pacman stops at "downloading required keys..."

See if this solution also works for you: https://bbs.archlinux.org/viewtopic.php … 3#p1502253


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-02-21 13:12:47

blattlaus
Member
Registered: 2014-04-11
Posts: 9

Re: Pacman stops at "downloading required keys..."

Hi, thanks for the replies.

@ WorMzy: I tried the exact procedure:

# rm -R /etc/pacman.d/gnupg/
# rm -R /root/.gnupg/  # only if the directory exists
# gpg --refresh-keys
# pacman-key --init && pacman-key --populate
# pacman-key --refresh-keys

but It again was hanging at "pacman-key --refresh-keys" as usual and pacman did not work afterwards too.

@ Spider.007: date and time are correct and synchronized via ntp deamon. pacman still fails. sad

Offline

#5 2015-02-21 14:17:27

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

Re: Pacman stops at "downloading required keys..."

Hi blattlaus,

It could be useful if you follow the procedure below (as root and using the default keyserver) and post here the logs:

killall dirmngr
killall gpg-agent
dirmngr --daemon --homedir /etc/pacman.d/gnupg --verbose &> ~/dirmngr.log

then post the output of the following command

gpg --homedir /etc/pacman.d/gnupg --verbose --refresh-keys

and finally post the previous generated /root/dirmngr.log

-- EDIT --
PS: can you ping the keyserver?

# ping pool.sks-keyservers.net
PING pool.sks-keyservers.net (83.149.68.11) 56(84) bytes of data.
64 bytes from srv01.secure-u.de (83.149.68.11): icmp_seq=1 ttl=52 time=50.6 ms
64 bytes from srv01.secure-u.de (83.149.68.11): icmp_seq=2 ttl=52 time=84.6 ms
64 bytes from srv01.secure-u.de (83.149.68.11): icmp_seq=3 ttl=52 time=74.7 ms
64 bytes from srv01.secure-u.de (83.149.68.11): icmp_seq=4 ttl=52 time=71.5 ms

Last edited by mauritiusdadd (2015-02-21 14:59:35)


About me - github

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

Offline

#6 2015-02-21 14:38:59

blattlaus
Member
Registered: 2014-04-11
Posts: 9

Re: Pacman stops at "downloading required keys..."

Hi mauritiusdadd,

thank you for the reply.

the output after running the suggested commands:

[root@e330 rainer]# killall dirmngr
[root@e330 rainer]# killall gpg-agent
[root@e330 rainer]# dirmngr --daemon --homedir /etc/pacman.d/gnupg --verbose &> ~/dirmngr.log
[root@e330 rainer]# gpg --homedir /etc/pacman.d/gnupg --verbose --refresh-keys
gpg: WARNING: unsafe permissions on homedir '/etc/pacman.d/gnupg'
gpg: refreshing 78 keys from hkp://pool.sks-keyservers.net

>> hangs here <<

and the log:

[root@e330 rainer]# cat ~/dirmngr.log 
dirmngr[13543.0]: error opening '/etc/pacman.d/gnupg/ldapservers.conf': No such file or directory
dirmngr[13543.0]: listening on socket '/root/.gnupg/S.dirmngr'
DIRMNGR_INFO=/root/.gnupg/S.dirmngr:13544:1; export DIRMNGR_INFO;
dirmngr[13544.0]: can't access directory '/etc/pacman.d/gnupg/trusted-certs': No such file or directory
dirmngr[13544.0]: can't access directory '/etc/pacman.d/gnupg/extra-certs': No such file or directory
dirmngr[13544.0]: permanently loaded certificates: 0
dirmngr[13544.0]:     runtime cached certificates: 0
dirmngr[13544.0]: handler for fd 0 started
dirmngr[13544.0]: connection from process 13601 (0:0)
dirmngr[13544.1]: handler for fd 1 started
dirmngr[13544.1]: connection from process 13601 (0:0)
dirmngr[13544.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'pool.sks-keyservers.net' [already known]
dirmngr[13544.0]: handler for fd 0 terminated

a ping to the keyserver looks like this:

I153404rainere330~% ping pool.sks-keyservers.net
PING pool.sks-keyservers.net (84.215.15.221) 56(84) bytes of data.
^C
--- pool.sks-keyservers.net ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 13007ms

I can resolve the name to an IP address, but I can not get an ICMP reply. (maybe the server does not respond to ICMP ? are you able to ping?)

EDIT:
according to traceroute packets to the keyserver are at least routed some steps and not immediately dropped.

I154107rainere330~% tracepath pool.sks-keyservers.net
 1?: [LOCALHOST]                                         pmtu 1500
 1:  fritz.box                                             0.672ms 
 1:  fritz.box                                             0.574ms 
 2:  no reply
 3:  ip5886defe.dynamic.kabel-deutschland.de              14.295ms 
 4:  ip5886ee95.dynamic.kabel-deutschland.de              25.412ms 
 5:  ip5886ca7b.dynamic.kabel-deutschland.de              25.118ms 
 6:  ffm-b7-link.telia.net                                35.227ms asymm 10 
 7:  globalcrossing-119012-ffm-b7.telia.net               42.981ms asymm 10 
 8:  ae8.scr4.FRA4.gblx.net                               36.820ms asymm 11 
 9:  te7-1-10G.ar1.OSL2.gblx.net                          55.442ms asymm 13 
10:  no reply
11:  cm-84.208.41.72.getinternet.no                       58.565ms asymm 14 
12:  cm-84.208.41.73.getinternet.no                       57.109ms asymm 14 
13:  no reply
14:  no reply
15:  no reply
16:  no reply
17:  no reply
18:  no reply

The only keyserver I managed to ping was  keyserver.ubuntu.com, however "pacman-key --refresh-keys --keyserver  http://keyserver.ubuntu.com" also fails...

Last edited by blattlaus (2015-02-21 14:45:14)

Offline

#7 2015-02-21 15:01:13

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Pacman stops at "downloading required keys..."

What happens if you visit http://keyserver.ubuntu.com/ with the browser? Try to search keys and download them manually.

Last edited by teateawhy (2015-02-21 15:01:29)

Offline

#8 2015-02-21 15:23:49

blattlaus
Member
Registered: 2014-04-11
Posts: 9

Re: Pacman stops at "downloading required keys..."

teateawhy wrote:

What happens if you visit http://keyserver.ubuntu.com/ with the browser? Try to search keys and download them manually.

A webinterface for extracting and submitting keys appears. It looks quite fine.

do I have to specify http protocol anywhere else besides the url?

I now tested on a friends (arch linux) laptop on my internet connection. She is able to upgrade just fine. Pacman prints "downloading required keys..." and then continues just normal. However  "pacman-key --refresh-keys" also hangs on her system.

I get the feeling, the two problems are not related, as Spider.007 also indicated.

Offline

#9 2015-02-21 15:40:26

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

Re: Pacman stops at "downloading required keys..."

blattlaus wrote:

I now tested on a friends (arch linux) laptop on my internet connection. She is able to upgrade just fine. Pacman prints "downloading required keys..." and then continues just normal. However  "pacman-key --refresh-keys" also hangs on her system.

I don't know if it is a network error however I can only say that sometimes pacman-key (actually gpg, since pacman-key is only a wrapper) takes a few seconds to connect to the keyserver, but no more than a minute. I have no other idea on how to solve your problem... sorry sad

For the sake of the record I add here some log for comparison:

  • The content of /root/dirmngr.log generated after a successfully refresh-keys procedure described above

    dirmngr[11471.0]: error opening '/etc/pacman.d/gnupg/ldapservers.conf': No such file or directory
    dirmngr[11471.0]: listening on socket '/root/.gnupg/S.dirmngr'
    DIRMNGR_INFO=/root/.gnupg/S.dirmngr:11472:1; export DIRMNGR_INFO;
    dirmngr[11472.0]: can't access directory '/etc/pacman.d/gnupg/trusted-certs': No such file or directory
    dirmngr[11472.0]: can't access directory '/etc/pacman.d/gnupg/extra-certs': No such file or directory
    dirmngr[11472.0]: permanently loaded certificates: 0
    dirmngr[11472.0]:     runtime cached certificates: 0
    dirmngr[11472.0]: handler for fd 0 started
    dirmngr[11472.0]: connection from process 11513 (0:0)
    dirmngr[11472.1]: handler for fd 1 started
    dirmngr[11472.1]: connection from process 11513 (0:0)
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': '37-252-190-133.rev.ipax.at'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'tic.labs.nic.cz'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'rrcs-24-172-63-194.midsouth.biz.rr.com'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'tyo1.sks.reimu.io'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'mud.stack.nl'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'vanunu.calyxinstitute.org'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'host-550b4a17.sileman.net.pl'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'gpg.spline.inf.fu-berlin.de'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'hufu.ki.iif.hu'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'cryptonomicon.mit.edu'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'oteiza.siccegge.de'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'keyserver.cns.ipv6.vt.edu'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': '[2001:470:1f09:325::94]'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': '[2001:67c:2050:1000::3:4]'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'gozer.rediris.es'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'tyo1.sks.reimu.io' [already known]
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'keys.jhcloos.com'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': '[2a01:4f8:190:22a4::2]'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'encrypt.to'
    dirmngr[11472.1]: getnameinfo returned for 'pool.sks-keyservers.net': 'sks.spodhuis.org'
    dirmngr[11472.1]: can't connect to '2a01:4f8:190:22a4::2': Network is unreachable
    dirmngr[11472.1]: error connecting to 'http://[2a01:4f8:190:22a4::2]:11371': Network is unreachable
    dirmngr[11472.1]: marking host '[2a01:4f8:190:22a4::2]' as dead
    dirmngr[11472.1]: can't connect to 'keys.jhcloos.com': Network is unreachable
    dirmngr[11472.1]: error connecting to 'http://keys.jhcloos.com:11371': Network is unreachable
    dirmngr[11472.1]: marking host 'keys.jhcloos.com' as dead
    dirmngr[11472.1]: error accessing 'http://mud.stack.nl:11371/pks/lookup?op=get&options=mr&search=0xD76C260D380006F14DC6C2190F499CA971DB8802': http status 404
    dirmngr[11472.1]: error accessing 'http://mud.stack.nl:11371/pks/lookup?op=get&options=mr&search=0x95C90595CF36990DCB208AAA26714623FE59A867': http status 404
    dirmngr[11472.1]: handler for fd 1 terminated
    dirmngr[11472.0]: handler for fd 0 terminated
  • the output of a tracepath to the default keyserver:

    # tracepath  pool.sks-keyservers.net
     1?: [LOCALHOST]                                         pmtu 1500
     1:  gateway                                               4.509ms 
     1:  gateway                                               2.328ms 
     2:  192.168.1.254                                         2.041ms 
     3:  192.168.1.254                                         3.140ms pmtu 1480
     3:  193-187-74-42.campaniacom.it                        104.371ms 
     4:  193-187-74-41.campaniacom.it                         52.223ms 
     5:  2-228-71-241.ip190.fastwebnet.it                     56.568ms 
     6:  93-61-48-1.ip145.fastwebnet.it                       39.040ms 
     7:  93-63-100-189.ip27.fastwebnet.it                    141.241ms asymm 11 
     8:  93-63-100-10.ip27.fastwebnet.it                      62.151ms asymm 11 
     9:  peering.evo.leaseweb.net                            202.287ms asymm 12 
    10:  xe-2-2-1.br01.ams-01.leaseweb.nl                    192.427ms asymm 12 
    11:  81.17.32.71                                          74.466ms asymm 12 
    12:  srv01.secure-u.de                                    52.514ms reached
         Resume: pmtu 1480 hops 12 back 52 

About me - github

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

Offline

#10 2015-02-21 16:08:38

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Pacman stops at "downloading required keys..."

Try port 80 instead of the default 11371 .

keyserver hkp://keyserver.kjsl.com:80

Maybe your ISP kabelsalat-deutschland is blocking the port.

Offline

#11 2015-02-21 16:23:06

blattlaus
Member
Registered: 2014-04-11
Posts: 9

Re: Pacman stops at "downloading required keys..."

thank you... I somehow solved the problem:

the command

pacman-key --refresh-keys --keyserver  http://keyserver.ubuntu.com

seems to have nothing to do at all with the pacman operation. As this command failed with changed keyservers, I thought that pacman upgrade will also fail.

After changing /etc/pacman.d/gnupg/gpg.conf to

no-greeting
no-permission-warning
lock-never
keyserver http://keyserver.ubuntu.com
keyserver-options timeout=10

pacman upgrade worked fine smile

however I still do not understand at all, why it is working for my friend with the default settings and on the same internet connection.

Offline

#12 2015-02-23 11:15:49

kayaman
Member
Registered: 2012-09-03
Posts: 11

Re: Pacman stops at "downloading required keys..."

Hey,

tried the various posibilites mentioned above and in other Threads to update my system. (Edit/Delete gpg config, different keyserver, reinit all with pacman-key)

Nothing did work, but i just tried to disable the key signing as mentioned [1].

SigLevel    = Never

Updated my System.. saw that keys were changed and then put it back to:

SigLevel    = Required DatabaseOptional

After a while i tried to update again and it worked perfectly again

greez

[1] https://wiki.archlinux.org/index.php/Pa … e_checking

Offline

Board footer

Powered by FluxBB