저장소의 출력

저장소의 출력

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

참고:: OS는 가상 머신 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

관련 정보