You are not logged in.

#1 2012-11-11 17:03:56

ClaudioP
Member
From: Portugal
Registered: 2012-03-11
Posts: 59

[SOLVED] Invalid PGP key (Felix Yan)

When i try to install the package boinc (X86_64) it simply refuses to download, because of a PGP key.
The problem is:

[root@undev2 claudio]# pacman -S boinc
resolving dependencies...
looking for inter-conflicts...

Targets (1): boinc-7.0.28-1

Total Installed Size:   6.43 MiB

Proceed with installation? [Y/n]
(1/1) checking package integrity                   [######################] 100%
error: boinc: key "786C63F330D7CB92" is unknown
:: Import PGP key , "Felix Yan <felixonmars@gmail.com>", created 2012-01-20? [Y/n] Y
error: key "Felix Yan <felixonmars@gmail.com>" could not be imported
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

I already tried to re-start the pacman keys without any errors, but the problem persists. On other computer(also X86_64) it installed without problems.
Whats wrong with the TU keys that can cause this error?

Last edited by ClaudioP (2012-11-11 21:08:51)


Ahh... stuff

Offline

#2 2012-11-11 17:29:34

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,666

Re: [SOLVED] Invalid PGP key (Felix Yan)

I'd be pretty confident there's nothing wrong with the keys.  I suspect a corrupted package. What happens if you delete boinc from your cache and try again?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-11-11 17:40:49

ClaudioP
Member
From: Portugal
Registered: 2012-03-11
Posts: 59

Re: [SOLVED] Invalid PGP key (Felix Yan)

loafer wrote:

I'd be pretty confident there's nothing wrong with the keys.  I suspect a corrupted package. What happens if you delete boinc from your cache and try again?

Nothing. It just downloads again, and then says the same.
Any package from other TU works just fine, but every package from Felix Yan, ends in errors due to the key.
Another:

[root@undev claudio]# pacman -S python2-gevent
resolving dependencies...
looking for inter-conflicts...

Targets (2): python2-greenlet-0.4.0-1  python2-gevent-0.13.8-1

Total Download Size:    0.17 MiB
Total Installed Size:   1.17 MiB

Proceed with installation? [Y/n]
:: Retrieving packages from community...
python2-greenlet-0....    13.1 KiB  1528K/s 00:00 [######################] 100%
python2-gevent-0.13...   158.7 KiB  1185K/s 00:00 [######################] 100%
(2/2) checking package integrity                   [######################] 100%
error: python2-greenlet: key "786C63F330D7CB92" is unknown
:: Import PGP key , "Felix Yan <felixonmars@gmail.com>", created 2012-01-20? [Y/n] Y
error: key "Felix Yan <felixonmars@gmail.com>" could not be imported
error: python2-gevent: key "786C63F330D7CB92" is unknown
:: Import PGP key , "Felix Yan <felixonmars@gmail.com>", created 2012-01-20? [Y/n] Y
error: key "Felix Yan <felixonmars@gmail.com>" could not be imported
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.


Ahh... stuff

Offline

#4 2012-11-11 17:44:57

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,666

Re: [SOLVED] Invalid PGP key (Felix Yan)

Try:

1)  Delete the package.
2)  Change mirror.
3)  pacman-key --refresh-keys
4)  pacman -Syy


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2012-11-11 18:37:32

ClaudioP
Member
From: Portugal
Registered: 2012-03-11
Posts: 59

Re: [SOLVED] Invalid PGP key (Felix Yan)

loafer wrote:

Try:

1)  Delete the package.
2)  Change mirror.
3)  pacman-key --refresh-keys
4)  pacman -Syy

I cleared the package caches and changed from IST mirror (http://ftp.rnl.ist.utl.pt) to a Spanish mirror (http://sunsite.rediris.es)
In the output of pacman-key --refresh-keys there is no Felix Yan, and the only error seems to be:
gpgkeys: key B828097764EBFA71D3DD0F316A7FA82F57FBF9A5 not found on keyserver
The full log is here: http://pastebin.com/9HgF7eR1
Now, the output is:

[root@undev2 claudio]# pacman -Syy
:: Synchronising package databases...
core                     106.5 KiB  30.9K/s 00:03 [######################] 100%
extra                   1422.5 KiB   747K/s 00:02 [######################] 100%
community               1779.1 KiB   760K/s 00:02 [######################] 100%
multilib                  90.5 KiB   113K/s 00:01 [######################] 100%
herecura-stable           64.2 KiB   181K/s 00:00 [######################] 100%
archlinuxfr               32.9 KiB   537K/s 00:00 [######################] 100%
[root@undev2 claudio]# pacman -S boinc
error: target not found: boinc

Now is not even found in the mirror. What should i try?

Thanks for your support

Last edited by ClaudioP (2012-11-11 18:38:11)


Ahh... stuff

Offline

#6 2012-11-11 19:36:40

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,666

Re: [SOLVED] Invalid PGP key (Felix Yan)

I cannot reproduce this.  The package installs fine for me.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#7 2012-11-11 19:55:26

Awebb
Member
Registered: 2010-05-06
Posts: 4,123

Re: [SOLVED] Invalid PGP key (Felix Yan)

I'm getting a similar problem with heftig's signature. Some packages like gtk3 and gdk-pixbuf2 won't install. It happened after I had some multilib versions of gcc and glibc aboard.

EDIT: It also happens for Thomas Dziedzic's sig (ruby).

EDIT: Changing the mirror, deleting the pkg cache solved that problem. I had another problem at the same time, where some libs did not seem to exist or the files were damaged. I had to uninstall the packages, delete the files and reinstall the packages again. I don't know if this is related, but it seems like pacman got confused on my last update.

Last edited by Awebb (2012-11-11 20:06:02)

Offline

#8 2012-11-11 21:08:29

ClaudioP
Member
From: Portugal
Registered: 2012-03-11
Posts: 59

Re: [SOLVED] Invalid PGP key (Felix Yan)

I am not sure if the problem was the cache or the mirror.
This time i changed the mirror to kernel.org, cleaned the cache, refreshed keys, and now the TU appears on the list:
gpg: key 30D7CB92: "Felix Yan <felixonmars@gmail.com>" not changed
This time the installation was successful.

Thanks for your support


Ahh... stuff

Offline

#9 2012-11-12 14:25:22

felixonmars
Developer/TU
From: Wuhan, China
Registered: 2011-04-15
Posts: 62
Website

Re: [SOLVED] Invalid PGP key (Felix Yan)

Sorry for the inconvenience, and just a FYI, my key is now included in testing/archlinux-keyring 20121113-1, there should be no more problem like this if you proceeded this upgrade smile


PGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60  030F 786C 63F3 30D7 CB92

Offline

#10 2012-11-12 20:34:34

ClaudioP
Member
From: Portugal
Registered: 2012-03-11
Posts: 59

Re: [SOLVED] Invalid PGP key (Felix Yan)

felixonmars wrote:

Sorry for the inconvenience, and just a FYI, my key is now included in testing/archlinux-keyring 20121113-1, there should be no more problem like this if you proceeded this upgrade smile

No problem. It was not a critical problem, just a minor inconvenience.
Anyway, thank you(and all the other TU's) for also helping this distro being such a great thing. ; )


Ahh... stuff

Offline

#11 2012-11-25 21:24:22

strpeter
Member
From: Geneva
Registered: 2012-11-24
Posts: 22

Re: [SOLVED] Invalid PGP key (Felix Yan)

I had a similar problem using pacman or yaourt while downloading some dependencies:

The files were just not detected, eventhough as a looked up at the download server the packages were there. It was easy to install them as I downloaded them manually but I should not need to download manually.

Offline

#12 2012-11-30 00:15:38

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 293

Re: [SOLVED] Invalid PGP key (Felix Yan)

@strpeter

More likely in your case it was more that the mirror you were using had some issues or was not synced instead of a PGP key as in this thread.
In order to avoid that make sure to use a good and synced mirror.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

Board footer

Powered by FluxBB