오래전 이야기/Server

yum error - The GPG keys listed for the "Fedora Core 4 - i386 - Base"

리눅스 엔지니어였던 2008. 9. 15. 16:53

[Problem]


warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e
Public key for ghostscript-fonts-5.50-13.noarch.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x4F2A6FD2) is already installed


The GPG keys listed for the "Fedora Core 4 - i386 - Base" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.


[Solve]



Edit /etc/yum.repos.d/fedora.repo and replace the line

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

with:

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY


vi /etc/yum.repos.d/fedora.repo


[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


yum install ImageMagick.i386   


Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ImageMagick.i386 0:6.2.2.0-3.fc4.2 set to be updated
--> Running transaction check
--> Processing Dependency: libgs.so.7 for package: ImageMagick
--> Processing Dependency: libltdl.so.3 for package: ImageMagick
--> Processing Dependency: libwmflite-0.2.so.7 for package: ImageMagick
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libwmf.i386 0:0.2.8.3-8.2 set to be updated
---> Package ghostscript.i386 0:7.07-41 set to be updated
---> Package libtool-ltdl.i386 0:1.5.16.multilib2-3 set to be updated
--> Running transaction check
--> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript
--> Processing Dependency: ghostscript-fonts for package: ghostscript
--> Processing Dependency: gtk2 >= 2.4.1-2 for package: libwmf
--> Processing Dependency: libgdk_pixbuf-2.0.so.0 for package: libwmf
--> Processing Dependency: /usr/bin/update-gdk-pixbuf-loaders for package: libwmf
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package gtk2.i386 0:2.6.10-2.fc4.4 set to be updated
---> Package urw-fonts.noarch 0:2.3-1 set to be updated
---> Package ghostscript-fonts.noarch 0:5.50-13 set to be updated
--> Running transaction check
--> Processing Dependency: libpango-1.0.so.0 for package: gtk2
--> Processing Dependency: pango >= 1.8.0-1 for package: gtk2
--> Processing Dependency: atk >= 1.6.0-1 for package: gtk2
--> Processing Dependency: libpangoxft-1.0.so.0 for package: gtk2
--> Processing Dependency: libpangox-1.0.so.0 for package: gtk2
--> Processing Dependency: libatk-1.0.so.0 for package: gtk2
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package atk.i386 0:1.9.1-1 set to be updated
---> Package pango.i386 0:1.8.1-2 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 ImageMagick             i386       6.2.2.0-3.fc4.2  updates-released  2.7 M
Installing for dependencies:
 atk                     i386       1.9.1-1          base              178 k
 ghostscript             i386       7.07-41          updates-released  7.6 M
 ghostscript-fonts       noarch     5.50-13          base              808 k
 gtk2                    i386       2.6.10-2.fc4.4   updates-released  4.8 M
 libtool-ltdl            i386       1.5.16.multilib2-3  updates-released   25 k
 libwmf                  i386       0.2.8.3-8.2      updates-released  811 k
 pango                   i386       1.8.1-2          base              272 k
 urw-fonts               noarch     2.3-1            base              4.5 M

Transaction Summary
=============================================================================
Install      9 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        
Total download size: 22 M
Is this ok [y/N]: y
Downloading Packages:


warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID db42a60e
Public key for ghostscript-fonts-5.50-13.noarch.rpm is not installed
Retrieving GPG key from
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
Importing GPG key 0xDB42A60E "Red Hat, Inc <security@redhat.com>"
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded


Running Transaction
  Installing: ghostscript-fonts            ######################### [1/9]
  Installing: libtool-ltdl                 ######################### [2/9]
  Installing: pango                        ######################### [3/9]
  Installing: atk                          ######################### [4/9]
  Installing: gtk2                         ######################### [5/9]
  Installing: libwmf                       ######################### [6/9]
  Installing: urw-fonts                    ######################### [7/9]
  Installing: ghostscript                  ######################### [8/9]
  Installing: ImageMagick                  ######################### [9/9]

Installed: ImageMagick.i386 0:6.2.2.0-3.fc4.2
Dependency Installed: atk.i386 0:1.9.1-1 ghostscript.i386 0:7.07-41 ghostscript-fonts.noarch 0:5.50-13 gtk2.i386 0:2.6.10-2.fc4.4 libtool-ltdl.i386 0:1.5.16.multilib2-3 libwmf.i386 0:0.2.8.3-8.2 pango.i386 0:1.8.1-2 urw-fonts.noarch 0:2.3-1
Complete!



<출처: http://www.linuxforums.org/forum/redhat-fedora-linux-help/58407-yum-install-mythtv-suite-problems.html >