You are not logged in.

#1 2015-08-31 00:46:01

ShaneHutter
Member
From: Newcastle, Australia
Registered: 2015-06-01
Posts: 15
Website

[SOLVED] Pacman Issue: Key cannot be looked up remotely

I went to upgrade my computer yesterday with:

$ pacman -Syu

and it has returned this

error: key "KEY$" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I've run -Syy, but I still get this error.

Last edited by ShaneHutter (2015-08-31 02:35:33)


Never ESC:q! on your dreams!!!

Offline

#2 2015-08-31 00:49:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,163
Website

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

Please don't truncate/obscure output: if you want help, paste the entire--unexpurgated--log.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-08-31 01:35:32

ShaneHutter
Member
From: Newcastle, Australia
Registered: 2015-06-01
Posts: 15
Website

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

Sorry, this was the output from running pacman -Syu

:: Synchronizing package databases...
 core is up to date
 extra                   1799.3 KiB   666K/s 00:03 [---------------------] 100%
 community                  2.8 MiB   555K/s 00:05 [---------------------] 100%
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (27) boost-1.58.0-3  boost-libs-1.58.0-3  breeze-icons-5.4.0-1
              coin-or-cgl-0.59.6-1  coin-or-clp-1.16.7-1
              coin-or-coinutils-2.10.9-1  coin-or-osi-0.107.5-1  git-2.5.1-1
              gsfonts-20150811-1  lib32-libpcap-1.7.4-1  libkdcraw-15.08.0-2
              libmwaw-0.3.6-1  libraw-0.17.0-1  libssh-0.7.1-2
              libwbclient-4.2.3-2  libwps-0.4.1-1
              networkmanager-openvpn-1.0.6-2  openmpi-1.10.0-1  pcre-8.37-4
              python2-ply-3.7-1  python2-virtualenv-13.1.2-1  samba-4.2.3-2
              smbclient-4.2.3-2  snappy-1.1.3-1  unixodbc-2.3.3-1
              wine-1.7.50-1  youtube-dl-2015.08.28-1

Total Download Size:    10.35 MiB
Total Installed Size:  703.39 MiB
Net Upgrade Size:       14.11 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 git-2.5.1-1-x86_64         4.2 MiB   829K/s 00:05 [---------------------] 100%
 gsfonts-20150811-1-any     2.9 MiB  1086K/s 00:03 [---------------------] 100%
 libraw-0.17.0-1-x86_64   476.1 KiB   856K/s 00:01 [---------------------] 100%
 libkdcraw-15.08.0-2...   119.4 KiB   898K/s 00:00 [---------------------] 100%
 python2-virtualenv-...  1555.3 KiB  1037K/s 00:02 [---------------------] 100%
 youtube-dl-2015.08....  1179.4 KiB  1047K/s 00:01 [---------------------] 100%
(27/27) checking keys in keyring                   [---------------------] 100%
downloading required keys...
error: key "5F702428F70E0903" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

Never ESC:q! on your dreams!!!

Offline

#4 2015-08-31 01:50:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,163
Website

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

That is one of Sébastien's keys. Run `pacman-key --refresh-keys` and then -Syyu.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-08-31 02:02:29

ShaneHutter
Member
From: Newcastle, Australia
Registered: 2015-06-01
Posts: 15
Website

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

Thank you, I ran "$ sudo pacm-key --refresh-keys", and received this output:

gpg: refreshing 80 keys from hkp://pool.sks-keyservers.net
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver refresh failed: No dirmngr
==> ERROR: A specified local key could not be updated from a keyserver.

Never ESC:q! on your dreams!!!

Offline

#6 2015-08-31 02:16:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 28,163
Website

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

Read the troubleshooting section of the pacman-keys wiki page...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-08-31 02:34:47

ShaneHutter
Member
From: Newcastle, Australia
Registered: 2015-06-01
Posts: 15
Website

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

Read the Wiki as you suggested.  I ran :

# dirmngr < /dev/null
# pacman-key --refresh-keys
# pacman -Syyu

And it worked fine.  Thank you very much for your patients and guidance.


Never ESC:q! on your dreams!!!

Offline

#8 2015-10-22 12:32:27

tojocky
Member
Registered: 2015-10-22
Posts: 1

Re: [SOLVED] Pacman Issue: Key cannot be looked up remotely

for me it worked the following command:

# sudo pacman -S archlinux-keyring  && sudo pacman -Syu

Offline

Board footer

Powered by FluxBB