Monthly Archives: January 2013

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!

LAMP Setup for Fedora 18


Easy steps to setup Fedora 18 as a LAMP server containing Apache, PHP, Perl, Python, Ruby and MySQL.

P.S.: This requires root access to the shell.

Step 1: Open terminal as root user and enter the following:

#yum install -y httpd php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-magickwand php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy php-mysql php-odbc php-pear php-mhash curl perl-libwww-perl ImageMagick libxml2 php-pecl-apc mysql mysql-server phpmyadmin at ruby mod_python perl mod_perl perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1 perl-ExtUtils-AutoInstall perl-NetAddr-IP perl-Archive-Tar

Step 2: To enable the Apache Webserver and MySQL Database server, run:

#systemctl enable httpd.service
#systemctl start httpd.service
#systemctl enable mysqld.service
#systemctl start mysqld.service
#mysql_secure_installation

%d bloggers like this: