Eric Hines wrote:
I've newly installed FC3 onto my Dell 600m Inspiron laptop, and I'm
trying to use Yum to upgrade the kernel and kernel-utils. As it's the
first time for this laptop, Yum responds with "You need to to download
the keys for...packages...and install them. You can do this with rpm
--import public.gpg.key"
However, when I run rpm --import public.gpg.key, I get the message
"error: public.gpg.key: import read failed."
What am I doing wrong?
Thanks
Eric Hines
Run this script as root and it will load in the keys.
david
#!/bin/bash
#
#
rpm --import /usr/share/doc/fedora-release-*/*GPG-KEY* \
http://rpm.livna.org/RPM-LIVNA-GPG-KEY \
http://newrpms.sunsite.dk/gpg-pubkey-newrpms.txt \
http://www.jpackage.org/jpackage.asc \
http://www.fedora.us/FEDORA-GPG-KEY \
http://freshrpms.net/packages/RPM-GPG-KEY.txt \
http://ATrpms.net/RPM-GPG-KEY.atrpms \
http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
http://heanet.dl.sourceforge.net/sourceforge/kde-redhat/gpg.rexdieter-kde-redhat.key \
http://dries.studentenweb.org/ayo/RPM-GPG-KEY.dries.txt \
http://crash.fce.vutbr.cz/Petr.Kristof-GPG-KEY \
http://mpeters.us/YJL_GPG-KEY \
http://fedoraproject.org/pre-extras/RPM-GPG-KEY-Fedora-Pre-Extras \
http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras \
http://thomas.apestaart.org/pkg/thomas.pubkey \
http://thomas.apestaart.org/pkg/thomas.fingerprint
exit 0
#
# Find GPG keys and owners
#
# rpm -qa gpg-pubkey\* --qf "%{version}-%{release} %{summary}\n"
#
# Also
#
# rpm -qa gpg-pubkey\* -qi | gpg
#
# Gpgkey-import
#
# ./gpgkey-import
#
# Remove a GPG-KEY
#
# rpm -e gpg-pubkey-[a109b1ec-3f6e28d5]
# rpm -e gpg-pubkey --allmatches
#--------------------------------------------
#Check GPG-keys (change to suit)
#
# gpg --keyserver pgp.mit.edu --recv-keys 55f3aa6f
# gpg --list-keys | grep Stichele
# gpg --fingerprint 55f3aa6f | head -n 3 > thomas.fingerprint.tmp
# diff thomas.fingerprint.tmp thomas.fingerprint
#
# gpg --with-fingerprint thomas.pubkey | head -n 3 | diff - thomas.fingerprint
#
#-----------------------------------------------