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!

Advertisements

About Sayak Sarkar

Web Ninja, Open Source Evangelist, Mozillian, Geek, Currently working as a Web Developer at Red Hat. In the past I've worked at Mozilla Foundation, Software Development & Research Cell at SICSR. Originally from Kolkata, West Bengal. Open Source Contributor with a special interest in Web Development. Follower of all updates related to Free and Open Source Software.

Posted on January 22, 2013, in Fedora, How-to Guides, Technology, VLC and tagged , , , , , , , , , , , , . Bookmark the permalink. 3 Comments.

  1. Thanks a billion This works.
    I had tried everything else on the web and almost given up.

    Anthony

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: