How to get up2date to work in Fedora Core 4
I was having an issue with up2date in FC4. Every package was greeted with the “is not signed with a GPG signature” message. Stumped, I turned to the trusty google.
Here’s what I found after aggregating information from about a dozen sites, none of which I remember. Attributions to those who already know they deserve it. I’m only putting this here as a public service.
Chances are that the keyring is hosed. Mine was apparently incomplete. Here’s how I fixed it:
as root:
gpg –no-default-keyring –keyring /etc/sysconfig/rhn/up2date-keyring.gpg –import /usr/share/rhn/RPM-GPG-KEY
gpg –no-default-keyring –keyring /etc/sysconfig/rhn/up2date-keyring.gpg –import /usr/share/rhn/RPM-GPG-KEY-fedora
gpg –no-default-keyring –keyring /etc/sysconfig/rhn/up2date-keyring.gpg –import /usr/share/rhn/RPM-GPG-KEY-fedora-test
That worked for me. Don’t be a putz and delete the up2date-uuid file from /etc/sysconfig/rhn. I did that, and had to manually rebuild it.
Once I rebuilt the keyring, I was able to download all the updates, which are signed, and my system was happily able to process them.