Description of Problem: up2date fails to add the RedHat GPG key. Version-Release number of selected component (if applicable): up2date-2.9.57-1 How Reproducible: Always. Steps to Reproduce: 1. Set preferences to use GPG 2. Remove /root/.gnupg 3. Say yes to "Install key" dialog Actual Results: $ sudo up2date (up2date:6369): Gdk-WARNING **: locale not supported by Xlib (up2date:6369): Gdk-WARNING **: can not set locale modifiers gpg: /root/.gnupg: directory created gpg: /root/.gnupg/options: new options file created gpg: you have to start GnuPG again, so it can read the new options file Traceback (most recent call last): File "/usr/sbin/up2date", line 739, in ? main() File "/usr/sbin/up2date", line 451, in main ret = sanityChecks(fromDaemon, hasGui) File "/usr/sbin/up2date", line 213, in sanityChecks if gpgWarning2(hasGui): File "/usr/sbin/up2date", line 163, in gpgWarning2 if gpgUtils.importGpgKeyring(): File "/usr/share/rhn/up2date_client/gpgUtils.py", line 81, in importGpgKeyring for fingerprint in findGpgFingerprints(): File "/usr/share/rhn/up2date_client/gpgUtils.py", line 52, in findGpgFingerprints fingerprint = parts[4] IndexError: list index out of range Expected Results: On the second run, it does what I'd expect: $ sudo up2date (up2date:6407): Gdk-WARNING **: locale not supported by Xlib (up2date:6407): Gdk-WARNING **: can not set locale modifiers gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: keyring `/root/.gnupg/secring.gpg' created and proceeds.
fixed in 2.9.61
Fix confirmed in latest released version.