存储库的输出

存储库的输出

我正在尝试使用 YUM 在 Redhat 5.5 上安装软件包,但它总是给我这个错误

[root@redhat64 Desktop]# yum install perl-Net-Server-0.97-1.el5.rf.noarch.rpm   Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Examining perl-Net-Server-0.97-1.el5.rf.noarch.rpm: perl-Net-Server-0.97-1.el5.rf.noarch
Marking perl-Net-Server-0.97-1.el5.rf.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package perl-Net-Server.noarch 0:0.97-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package
      Arch      Version          Repository                                Size
================================================================================
Installing:
 perl-Net-Server
      noarch    0.97-1.el5.rf    /perl-Net-Server-0.97-1.el5.rf.noarch    357 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total size: 357 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6


Public key for perl-Net-Server-0.97-1.el5.rf.noarch.rpm is not installed

注意:: 操作系统是在虚拟机上运行的 5.5 64 位,我已在本地 YUM 存储库中设置 GPGCHECK=0。

存储库的输出

[root@redhat64 ~]# cat /etc/yum.repos.d/* | grep -v "^#"
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[rhel-debuginfo-beta]
name=Red Hat Enterprise Linux $releasever Beta - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel-local.repo]
name=Local Repo
Baseurl=file:///RPMS
enabled=1
gpgcheck=0

我使用 Local.repo 作为我的主包存储库

答案1

您需要安装 Repoforge GPG 密钥:

# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

相关内容