Bug 1003091
Summary: | Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dean Hunter <deanhunter> |
Component: | fedora-release | Assignee: | Dennis Gilmore <dennis> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | admiller, akozumpl, dennis, ffesti, firas.alkafri, germano.massullo, hawk, mwoehlke.floss, packaging-team-maint, per.arnold, tim.lauridsen, tuanta, zpavlas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-01 18:19:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dean Hunter
2013-08-30 18:23:13 UTC
Adding: ln -s /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-19-primary \\ /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64 # RedHat bug 1003091 to the Anaconda Kickstart post script resolves the problem. Additional information: It looks like the default repository configurations have the correct (new style, with version) key name. I'm just now going through and cleaning up my .rpmnew's and noticed that my repo configurations had such, so that the old repo configs with the old name are used. So probably this only affects people that have modified their repo configs and get .rpmnew's of them as a result. Maybe fedora-release should provide both symlink variants during a transition period? Having a proper 3-way merge in rpm would help, too. I got this error message too. And I simply remove the file /etc/yum.repos.d/fedora-updates-testing.repo and rename /etc/yum.repos.d/fedora-updates-testing.repo.rpmnew file back to replace it. It works fine now. (In reply to Truong Anh Tuan from comment #4) > I got this error message too. > And I simply remove the file /etc/yum.repos.d/fedora-updates-testing.repo > and rename /etc/yum.repos.d/fedora-updates-testing.repo.rpmnew file back to > replace it. > > It works fine now. I had the same problem, but it was the fedora-updates.repo that had a rpmnew file. Replacing the fedora-updates.repo with the rpmnew file fixed it. Confirming on Fedora 20 # ls -l /etc/pki/rpm-gpg totale 52 lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-20-fedora -> RPM-GPG-KEY-fedora-20-primary -rw-r--r--. 1 root root 1726 1 mar 2007 RPM-GPG-KEY-adobe-linux lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-20-aarch64 -> RPM-GPG-KEY-fedora-20-secondary lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-fedora-20-armhfp -> RPM-GPG-KEY-fedora-20-primary lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-fedora-20-i386 -> RPM-GPG-KEY-fedora-20-primary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-20-ppc -> RPM-GPG-KEY-fedora-20-secondary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-20-ppc64 -> RPM-GPG-KEY-fedora-20-secondary -rw-r--r--. 1 root root 1658 27 nov 14.31 RPM-GPG-KEY-fedora-20-primary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-20-s390 -> RPM-GPG-KEY-fedora-20-secondary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-20-s390x -> RPM-GPG-KEY-fedora-20-secondary -rw-r--r--. 1 root root 3819 27 nov 14.31 RPM-GPG-KEY-fedora-20-secondary lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-fedora-20-x86_64 -> RPM-GPG-KEY-fedora-20-primary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-21-aarch64 -> RPM-GPG-KEY-fedora-21-secondary lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-fedora-21-armhfp -> RPM-GPG-KEY-fedora-21-primary lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-fedora-21-i386 -> RPM-GPG-KEY-fedora-21-primary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-21-ppc -> RPM-GPG-KEY-fedora-21-secondary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-21-ppc64 -> RPM-GPG-KEY-fedora-21-secondary -rw-r--r--. 1 root root 1658 27 nov 14.31 RPM-GPG-KEY-fedora-21-primary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-21-s390 -> RPM-GPG-KEY-fedora-21-secondary lrwxrwxrwx. 1 root root 31 18 dic 14.00 RPM-GPG-KEY-fedora-21-s390x -> RPM-GPG-KEY-fedora-21-secondary -rw-r--r--. 1 root root 3819 27 nov 14.31 RPM-GPG-KEY-fedora-21-secondary lrwxrwxrwx. 1 root root 29 18 dic 14.00 RPM-GPG-KEY-fedora-21-x86_64 -> RPM-GPG-KEY-fedora-21-primary -rw-r--r--. 1 root root 1694 6 nov 2008 RPM-GPG-KEY-fedora-ia64 lrwxrwxrwx. 1 root root 44 18 dic 14.02 RPM-GPG-KEY-rpmfusion-free-fedora -> RPM-GPG-KEY-rpmfusion-free-fedora-20-primary lrwxrwxrwx. 1 root root 44 18 dic 14.02 RPM-GPG-KEY-rpmfusion-free-fedora-20 -> RPM-GPG-KEY-rpmfusion-free-fedora-20-primary -rw-r--r--. 1 root root 1719 1 gen 2013 RPM-GPG-KEY-rpmfusion-free-fedora-20-primary lrwxrwxrwx. 1 root root 44 18 dic 14.02 RPM-GPG-KEY-rpmfusion-free-fedora-21 -> RPM-GPG-KEY-rpmfusion-free-fedora-21-primary -rw-r--r--. 1 root root 1719 28 giu 2013 RPM-GPG-KEY-rpmfusion-free-fedora-21-primary lrwxrwxrwx. 1 root root 44 18 dic 14.02 RPM-GPG-KEY-rpmfusion-free-fedora-22 -> RPM-GPG-KEY-rpmfusion-free-fedora-22-primary -rw-r--r--. 1 root root 1719 15 dic 23.48 RPM-GPG-KEY-rpmfusion-free-fedora-22-primary lrwxrwxrwx. 1 root root 44 18 dic 14.02 RPM-GPG-KEY-rpmfusion-free-fedora-latest -> RPM-GPG-KEY-rpmfusion-free-fedora-21-primary lrwxrwxrwx. 1 root root 44 18 dic 14.02 RPM-GPG-KEY-rpmfusion-free-fedora-rawhide -> RPM-GPG-KEY-rpmfusion-free-fedora-22-primary lrwxrwxrwx. 1 root root 47 18 dic 14.12 RPM-GPG-KEY-rpmfusion-nonfree-fedora -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-20-primary lrwxrwxrwx. 1 root root 47 18 dic 14.12 RPM-GPG-KEY-rpmfusion-nonfree-fedora-20 -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-20-primary -rw-r--r--. 1 root root 1723 1 gen 2013 RPM-GPG-KEY-rpmfusion-nonfree-fedora-20-primary lrwxrwxrwx. 1 root root 47 18 dic 14.12 RPM-GPG-KEY-rpmfusion-nonfree-fedora-21 -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-21-primary -rw-r--r--. 1 root root 1723 28 giu 2013 RPM-GPG-KEY-rpmfusion-nonfree-fedora-21-primary lrwxrwxrwx. 1 root root 47 18 dic 14.12 RPM-GPG-KEY-rpmfusion-nonfree-fedora-22 -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-22-primary -rw-r--r--. 1 root root 1723 15 dic 23.52 RPM-GPG-KEY-rpmfusion-nonfree-fedora-22-primary lrwxrwxrwx. 1 root root 47 18 dic 14.12 RPM-GPG-KEY-rpmfusion-nonfree-fedora-latest -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-21-primary lrwxrwxrwx. 1 root root 47 18 dic 14.12 RPM-GPG-KEY-rpmfusion-nonfree-fedora-rawhide -> RPM-GPG-KEY-rpmfusion-nonfree-fedora-22-primary this only happens if you have modified your repo files. the fix is to manually replace the .repo files with the .rpmnew copies. we really can not do anything else. |