Blog Archives

Debugging NO KEY warning during “yum install vlc”


This is a problem that I encountered today while tryiing to install VLC media player on my brand new Fedora 18 installation.

Right after the dependency resolutions are complete, yum returns the following warning:-

Transaction Summary
===============================================
Install 1 Package (+45 Dependent packages)

Total size: 37 M
Installed size: 118 M
Is this ok [y/N]: y
Downloading Packages:
warning: /var/cache/yum/i386/18/rpmfusion-free/packages/live555-0-0.38.2012.10.18.fc18.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 982e0a7c: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386

GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386

Did a bit of snooping around over the internet and found the missing rpmfusion keys at: http://rpmfusion.org/keys and derived the following solution:-

Step by step solution to the problem [root login used]:-

  • I have already compiled the key into a single .gz file, which can be downloaded from this link: http://goo.gl/bKoyb
  • Place the .gz file in the directory: /etc/pki/rpm-gpg/
  • #cd /etc/pki/rpm-gpg/
  • #tar -xvzf RPM-GPG-KEY-rpmfusion.tar.gz
  • rm RPM-GPG-KEY-rpmfusion.tar.gz
  • #yum install vlc
  • You should get this output after dependency resolution is complete:

    Transaction Summary
    ===============================================
    Install 1 Package (+45 Dependent packages)

    Total size: 37 M
    Installed size: 118 M
    Is this ok [y/N]: y
    Downloading Packages:
    warning: /var/cache/yum/i386/18/rpmfusion-free/packages/live555-0-0.38.2012.10.18.fc18.i686.rpm: Header V3 RSA/SHA256 Signature, key ID 982e0a7c: NOKEY
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386
    Importing GPG key 0x982E0A7C:
    Userid : “RPM Fusion free repository for Fedora (18) <rpmfusion-buildsys@lists.rpmfusion.org>”
    Fingerprint: c63d a8f3 375c 7182 3e3a 2d42 3633 9914 982e 0a7c
    From : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-i386
    Is this ok [y/N]:

  • Enter ‘y’ (without the quotes!)

Voila! VLC’s installed!

NOTE:It is highly recommended to do a ‘yum update’ after the installation procedure is complete, as it helps ensuring that the new rpm keys are standards-compliant!