You are not logged in.

#1 2011-10-22 13:34:33

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

Invalid signature stopping upgrade [Solved]

i am unable to upgrade any packages because i seem to have an invalid pgp signature. could someone point me to the place where the sigs are stored so that i can delete the offending sig.

Note : i know that i can change siglevel in pacman.conf but i want to know if there's a workaround.

[dilip@Zeus ~]$ sudo pacman -Su
Password: 
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (28): gnome-icon-theme-3.2.1.2-1  kdeutils-ark-4.7.2-2  kdeutils-filelight-4.7.2-2  kdeutils-kcalc-4.7.2-2
              kdeutils-kcharselect-4.7.2-2  kdeutils-kdf-4.7.2-2  kdeutils-kfloppy-4.7.2-2  kdeutils-kgpg-4.7.2-2
              kdeutils-kremotecontrol-4.7.2-2  kdeutils-ktimer-4.7.2-2  kdeutils-kwallet-4.7.2-2  kdeutils-printer-applet-4.7.2-2
              kdeutils-superkaramba-4.7.2-2  kdeutils-sweeper-4.7.2-2  lame-3.99-1  libarchive-2.8.5-2  libpulse-1.1-1  linux-3.0.7-1
              linux-headers-3.0.7-1  openjdk6-6.b22_1.10.4-1  poppler-0.18.0-2  poppler-qt-0.18.0-2  pth-2.0.7-4  qtcurve-gtk2-1.8.12-1
              udev-174-1  udev-compat-174-1  util-linux-2.20.1-1  wine-1.3.31-1

Total Installed Size:   376.60 MiB
Net Upgrade Size:       1.01 MiB

Proceed with installation? [Y/n] y
(28/28) checking package integrity                                                  [################################################] 100%
error: openjdk6: signature from "Andreas Radke <andyrtr@archlinux.org>" is invalid
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Last edited by testdude281 (2011-10-22 21:13:12)

Offline

#2 2011-10-22 14:16:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: Invalid signature stopping upgrade [Solved]

Refreshing the package database should help:

# pacman -Syy
# pacman -Su

Last edited by .:B:. (2011-10-22 14:16:34)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-10-22 17:16:32

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

Re: Invalid signature stopping upgrade [Solved]

Nope. That didnt work. The error repeated itself.

Offline

#4 2011-10-22 17:19:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,426

Re: Invalid signature stopping upgrade [Solved]

Add

SigLevel     = Optional TrustAll

to your /etc/pacman.conf.

https://bugs.archlinux.org/task/26563#comment84635

wonder wrote:

for now is the best solution since the arch repos are not ready to use Required

Last edited by karol (2011-10-22 17:20:02)

Offline

#5 2011-10-22 17:56:39

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

Re: Invalid signature stopping upgrade [Solved]

SigLevel already has the same values. but the error repeats.

would pacman -Sc (or Scc) work in removing the offending pgp key?

Also, i ran pacman --debug -Su and found the more exact error

error: openjdk6: signature from "Andreas Radke <andyrtr@archlinux.org>" is invalid
debug: returning error 33 from check_validity : invalid or corrupted package

Last edited by testdude281 (2011-10-22 17:59:50)

Offline

#6 2011-10-22 21:12:12

testdude281
Member
From: Vizag, India
Registered: 2011-03-04
Posts: 75

Re: Invalid signature stopping upgrade [Solved]

I solved it. The key wasnt the problem, the package was corrupt. I deleted the package and upgrade went smoothly.

Offline

Board footer

Powered by FluxBB