F18: Can't install new GPG keys for YUM

Kevin J. Cummings cummings at kjchome.homeip.net
Wed May 29 23:28:51 UTC 2013


The quick history of this laptop:

Its a Dell Inspiron 1100 (Celeron/Pentium 4 i686 CPU, Intel GPU:
> 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)

Booted from the F17 LiveCD (Gnome, I think).  Everything worked.

Used the install to Disk option to install F17 to disk.

Ran yum update to update the F17 install.  Added a number of 3rd party
repositories:
	adobe-linux-i386
	atrpms
	city-fan.org
	dropbox
	google-chrome
	remi
	rpmfusion-free
	rpmfusion-free-updates
	rpmfusion-nonfree
	rpmfusion-nonfree-updates

Each of these installed a GPG key and works fine.

Used FEDUP to upgrade to F18.  I followed the directions on the
fedoraproject wiki, and everything seemed to go smoothly.  F18 boots and
runs no problem (well, almost no problem).  This laptop seems to have
problems suspending and hibernating correctly, or more correctly,
resuming from them.  Lately, it has had problem completing the suspend
or hybernation.  But, that's another problem.

One of the things I wanted to try was tuxonice.  I found the repo at:

http://mhensler.de/swsusp/download/suspend2.repo

and tried to use it.  I get GPG key errors.  here is the bulk of the
repo file:

> [suspend2]
> name=Fedora Core $releasever - $basearch - Software Suspend 2 kernels and utilities
> baseurl=http://mhensler.de/swsusp/download/yum/fc$releasever
> #baseurl=http://mhensler.de/swsusp/download/yum/el5
> enabled=1
> 
> # enable gpgcheck for Core 5 and higher and use
> # rpm --import http://mhensler.de/swsusp/download/SUSPEND2-RPM-KEY
> # (since the packages are signed with my old PGP v2/RSA key, the check will
> #  fail for Core 3 and 4, sorry.)
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-suspend2
> gpgcheck=1

When I try and install something from the repository, I get an error
relating to the GPG key:

> # yum -y install freetype-static
> Loaded plugins: fastestmirror, langpacks, ps, refresh-packagekit
> suspend2                                                                                               | 2.9 kB  00:00:00     
> Loading mirror speeds from cached hostfile
>  * city-fan.org: www.city-fan.org
>  * fedora: fedora.mirror.constant.com
>  * remi: mirror5.layerjet.com
>  * rpmfusion-free: mirror.us.leaseweb.net
>  * rpmfusion-free-updates: mirror.us.leaseweb.net
>  * rpmfusion-nonfree: mirror.us.leaseweb.net
>  * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
>  * updates: fedora.mirror.constant.com
> Resolving Dependencies
> --> Running transaction check
> ---> Package freetype-static.i686 0:2.4.10-2.fc18.cubbi1 will be installed
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> ==============================================================================================================================
>  Package                          Arch                  Version                               Repository                 Size
> ==============================================================================================================================
> Installing:
>  freetype-static                  i686                  2.4.10-2.fc18.cubbi1                  suspend2                  320 k
> 
> Transaction Summary
> ==============================================================================================================================
> Install  1 Package
> 
> Total size: 320 k
> Installed size: 734 k
> Downloading Packages:
> warning: /var/cache/yum/i386/18/suspend2/packages/freetype-static-2.4.10-2.fc18.cubbi1.i686.rpm: Header V3 RSA/SHA512 Signature, key ID 22b2951d: NOKEY
> Retrieving key from http://mhensler.de/swsusp/download/SUSPEND2-RPM-KEY
> Importing GPG key 0x22B2951D:
>  Userid     : "Matthias Hensler <matthias at wspse.de>"
>  Fingerprint: 2e08 ff64 ea37 c253 1397 e1fe ab15 76af
>  From       : http://mhensler.de/swsusp/download/SUSPEND2-RPM-KEY
> 
> 
> Key import failed (code 2)
> 
> 
>  Failing package is: freetype-static-2.4.10-2.fc18.cubbi1.i686
>  GPG Keys are configured as: http://mhensler.de/swsusp/download/SUSPEND2-RPM-KEY

OK, so I try the old fashion way to install the key:

> # rpm -vv --import http://mhensler.de/swsusp/download/SUSPEND2-RPM-KEY
> D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
> D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
> D: loading keyring from rpmdb
> D: opening  db environment /var/lib/rpm cdb:0x401
> D: opening  db index       /var/lib/rpm/Packages 0x400 mode=0x0
> D: locked   db index       /var/lib/rpm/Packages
> D: opening  db index       /var/lib/rpm/Name 0x400 mode=0x0
> D:  read h#     264 Header sanity check: OK
> D: added key gpg-pubkey-1aca3465-4f0c91e2 to keyring
> D:  read h#     830 Header SHA1 digest: OK (35dcaead230dffc03234a383e5f3dab9bd46680c)
> D: added key gpg-pubkey-de7f38bd-501f4964 to keyring
> D:  read h#     904 Header sanity check: OK
> D: added key gpg-pubkey-7fac5991-4615767f to keyring
> D:  read h#     974 Header sanity check: OK
> D: added key gpg-pubkey-5044912e-4b7489b1 to keyring
> D:  read h#    1096 Header sanity check: OK
> D: added key gpg-pubkey-b56a8bac-3bbc4d06 to keyring
> D:  read h#    1116 Header sanity check: OK
> D: added key gpg-pubkey-f6777c67-45e5b1b9 to keyring
> D:  read h#    1446 Header sanity check: OK
> D: added key gpg-pubkey-8296fa0f-4ea867c3 to keyring
> D:  read h#    1891 Header SHA1 digest: OK (eb95b897727baab8e961ba6a0634a1f433b83c30)
> D: added key gpg-pubkey-982e0a7c-4f34288f to keyring
> D: Using legacy gpg-pubkey(s) from rpmdb
> error: http://mhensler.de/swsusp/download/SUSPEND2-RPM-KEY: key 1 import failed.
> D: closed   db index       /var/lib/rpm/Name
> D: closed   db index       /var/lib/rpm/Packages
> D: closed   db environment /var/lib/rpm

I currently have the following keys installed:

> gpg-pubkey-f6777c67-45e5b1b9
> gpg-pubkey-1aca3465-4f0c91e2
> gpg-pubkey-de7f38bd-501f4964
> gpg-pubkey-5044912e-4b7489b1
> gpg-pubkey-7fac5991-4615767f
> gpg-pubkey-b56a8bac-3bbc4d06
> gpg-pubkey-982e0a7c-4f34288f
> gpg-pubkey-8296fa0f-4ea867c3

Why can't I install any more?

-- 
Kevin J. Cummings
kjchome at verizon.net
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://www.linuxcounter.net/)


More information about the users mailing list