Re: Catch22 installing RPM-GPG-KEY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Ryshpan wrote:
> An attempt to install vlc failed because my system is missing one of
> the gpg key files, namely:
> /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-27
> Attempts to install it fail, because it's not installed.  At the bottom
> is a log of an attempt to install it, reformatted to fit on the screen
> without too much folding.
> 
> What's the best way to get the file installed?

You generally don't need to install these manually.  You
just install the rpmfusion-free-release package (which you
already seem to have, based on the 'dnf provides' output
below).

But for reference, if you want to manually import a GPG key
to the rpm database, use:

$ sudo rpm --import /path/to/to/key

> # dnf provides /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-27
> 
> Last metadata expiration check: 2:00:36 ago on Wed 31 Jan 2018 04:22:22
> AM PST.
> rpmfusion-free-release-27-1.noarch : RPM Fusion (free) Repository
> Configuration
> Repo        : rpmfusion-free
> Matched from:
> Filename    : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-27

If 'dnf provides' can tell you this, you already have the
rpmfusion-free release package installed.  If you don't have
/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-27 then
something is wrong with your install and you should
reinstall the rpmfusion-free-release package to fix it.

I would check the current repo files in /etc/yum.repos.d to
ensure you don't have any rpmfusion files you created
manually.  If not, then reinstall the rpmfusion-free-release
package:

$ sudo dnf reinstall https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

> Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-
> gpg/RPM-GPG-KEY-rpmfusion-free-fedora-27         [Couldn't open file
> /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-27]

Perhaps you installed the rpmfusion-free-release package
long ago and then upgraded fedora (as opposed to a fresh
install).  This should update the rpmfusion-free-release
package which provides the proper GPG keys.  But it's hard
to say where things went wrong on your system.

You may want to check the version and verify the
rpmfusion-free-release package.

$ rpm -q rpmfusion-free-release
$ rpm -V rpmfusion-free-release

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Life is a gamble at terrible odds -- if it was a bet, you wouldn't
take it.
    -- Tom Stoppard, Rosencrantz and Guildenstern Are Dead

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux