eeijlar
(John Lawlor)
June 18, 2020, 6:52am
1
I am trying to do a dnf update, and I am getting this error:
warning: /var/cache/dnf/rpmfusion-free-updates-56469a3c7b1dd113/packages/ffmpeg-4.2.3-3.fc31.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c481937a: NOKEY
RPM Fusion for Fedora 31 - Free - Updates 1.6 MB/s | 1.7 kB 00:00
Importing GPG key 0xC481937A:
Userid : "RPM Fusion free repository for Fedora (31) <rpmfusion-buildsys@lists.rpmfusion.org>"
Fingerprint: 59A7 FE07 F664 C1B2 7687 C5D2 6DEE F051 C481 937A
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-31
Is this ok [y/N]: y
Key imported successfully
warning: /var/cache/dnf/rpmfusion-nonfree-nvidia-driver-5a2b3cb5ce99967a/packages/akmod-nvidia-440.82-2.fc31.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 54a86092: NOKEY
RPM Fusion for Fedora 31 - Nonfree - NVIDIA Driver 0.0 B/s | 0 B 00:00
Curl error (37): Couldn't read a file:// file for file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31 [Couldn't open file /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31]
Any ideas greatly appreciated.
lcts
(Christopher Engelhard)
June 18, 2020, 11:50am
2
I don’t really know what is going on there, but have you checked if that file /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31
exists? Should be a symlink to /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31-primary
, I think.
eeijlar
(John Lawlor)
June 18, 2020, 12:02pm
3
No, the file doesn’t exist, no symlink either.
[root@localhost ~]# sudo dnf reinstall https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
Last metadata expiration check: 2:28:23 ago on Thu 18 Jun 2020 10:34:22 IST.
rpmfusion-free-release-31.noarch.rpm 34 kB/s | 14 kB 00:00
Dependencies resolved.
=============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=============================================================================================================================================================================================================================================
Reinstalling:
rpmfusion-free-release noarch 31-1 @commandline 14 k
Transaction Summary
=============================================================================================================================================================================================================================================
Total size: 14 k
Installed size: 8.7 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Reinstalling : rpmfusion-free-release-31-1.noarch 1/2
Cleanup : rpmfusion-free-release-31-1.noarch 2/2
Verifying : rpmfusion-free-release-31-1.noarch 1/2
Verifying : rpmfusion-free-release-31-1.noarch 2/2
Reinstalled:
rpmfusion-free-release-31-1.noarch
Complete!
[root@localhost ~]# ls /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31-primary
ls: cannot access '/usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31-primary': No such file or directory
[root@localhost ~]#
lcts
(Christopher Engelhard)
June 18, 2020, 12:07pm
4
That file is provided by distribution-gpg-keys
(You can check that using dnf repoquery --provides <filename>
). I have no idea what would cause it to go missing, but I guess you can try reinstalling that package.
2 Likes
eeijlar
(John Lawlor)
June 18, 2020, 4:41pm
5
It wasn’t installed to begin with … I just did
dnf install distribution-gpg-keys
and then:
[root@localhost ~]# ls /usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31
/usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-31
[root@localhost ~]#
Thanks for your help
system
(system)
Closed
July 16, 2020, 4:41pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.