You are not logged in.

#1 2012-04-07 14:42:05

silentsnake
Member
Registered: 2012-02-23
Posts: 57

[SOLVED] Pacman is unable to look up keys?

Hi there,

I'm using Arch Linux for a while, and I'm using pacman 4.0 as well as key signing. It works without any problems, and I run system upgrades every 3 days or so.

Today i just want to initiate the upgrade with "pacman -Syu" as usual, but pacman refuses it because it is unable to check the keys. Since it did work perfectly before, I - of course - did pacman key initialization and configured the pacman.conf properly.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...

Targets (25): binutils-2.22-5  coreutils-8.16-2  dhcpcd-5.5.6-1  expat-2.1.0-1
              filesystem-2012.2-4  gcc-4.7.0-3  gcc-libs-4.7.0-3  glibc-2.15-10
              gnutls-3.0.18-1  kmod-7-2  krb5-1.10.1-2  libarchive-3.0.4-1
              libltdl-2.4.2-5  libpng-1.5.10-1  libtool-2.4.2-5  linux-3.2.14-1
              linux-api-headers-3.3-1  mkinitcpio-0.8.6-2  pcmciautils-018-4
              perl-net-ssleay-1.46-1  syslinux-4.05-4  syslog-ng-3.3.4-5
              tzdata-2012c-1  udev-181-9  util-linux-2.21.1-2

Total Installed Size:   245.35 MiB
Net Upgrade Size:       5.96 MiB

Proceed with installation? [Y/n] y
(25/25) checking package integrity                 [######################] 100%
error: libarchive: key "5C2E46A0F53A76ED" is unknown
error: key "5C2E46A0F53A76ED" could not be looked up remotely
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

My pacman.conf looks like this (important parts)

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
#SigLevel = Never

[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

gpg.conf

no-greeting
no-permission-warning
lock-never
keyserver hkp://keys.gnupg.net
keyserver-options timeout=10

I also tried increasing the timeout and changing the keyserver to hkp://pgp.mit.edu:11371, as adviced in other threads, but no help.

Cleaning the caches with pacman -Sc didn't help ether. I also restarted the system several times, but no success.

Any help? Thanks!

Last edited by silentsnake (2012-04-07 14:56:24)

Offline

#2 2012-04-07 14:47:29

ploub
Member
Registered: 2007-05-16
Posts: 137

Re: [SOLVED] Pacman is unable to look up keys?

Cleaning the cache with pacman -Sc will leave the most recent downloaded version there, so delete the package manually from the cache and run pacman -Syu again.

Offline

#3 2012-04-07 14:52:01

Problemer
Member
From: Gothenburg , Sweden
Registered: 2012-03-12
Posts: 14
Website

Re: [SOLVED] Pacman is unable to look up keys?

Offline

#4 2012-04-07 14:55:55

silentsnake
Member
Registered: 2012-02-23
Posts: 57

Re: [SOLVED] Pacman is unable to look up keys?

Thanks. smile

Offline

Board footer

Powered by FluxBB