Redhat 저장소를 찾을 수 없습니다.

Redhat 저장소를 찾을 수 없습니다.

32비트 애플리케이션을 설치하기 위해 고객으로부터 Redhat 7 시스템을 빌렸습니다. 애플리케이션이 제대로 작동하려면 gtk2.i686 툴킷을 설치해야 합니다.

이 명령을 실행하면:

yum list --showduplicates gtk2

설치된 64비트 패키지는 다음과 같습니다.

gtk2.x86_64                               2.24.31-1.el7                                     @rhel-7-server-rpms

그래서 다음과 같이 일치하는 32비트 버전을 설치하려고 했습니다.

yum install gtk2-2.24.31-1.el7.i686

그러면 승인 프롬프트와 함께 종속성 목록이 생성됩니다.

Install  1 Package  (+79 Dependent packages)
Upgrade             (  5 Dependent packages)
Total size: 30 M
Total download size: 24 M
Is this ok [y/d/N]: 

그러나 동의하면 다음과 같은 일련의 "호스트 오류를 ​​해결할 수 없습니다"와 함께 실패합니다.

zlib-1.2.7-18.el7.i686.rpm     FAILED                                          
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os/Packages/z/zlib-1.2.7-18.el7.i686.rpm: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.

"yum repolist"를 실행할 때 비슷한 오류가 발생합니다.

# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager

https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/ansible/2.6/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-maintenance/6/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.3/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/sat-tools/6.4/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
https://rhs6.loc/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: rhs6.loc; Unknown error"
Trying other mirror.
repo id                                            repo name                                              status
epel/x86_64                                        Extra Packages for Enterprise Linux 7 - x86_64         12,908
google-chrome                                      google-chrome                                               3
!rhel-7-server-ansible-2.6-rpms/x86_64             Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise     18
!rhel-7-server-extras-rpms/x86_64                  Red Hat Enterprise Linux 7 Server - Extras (RPMs)       1,063
!rhel-7-server-optional-rpms/x86_64                Red Hat Enterprise Linux 7 Server - Optional (RPMs)    17,348
!rhel-7-server-rpms/x86_64                         Red Hat Enterprise Linux 7 Server (RPMs)               23,690
!rhel-7-server-satellite-maintenance-6-rpms/x86_64 Red Hat Satellite Maintenance 6 (for RHEL 7 Server) (R     26
!rhel-7-server-satellite-tools-6.3-rpms/x86_64     Red Hat Satellite Tools 6.3 (for RHEL 7 Server) (RPMs)     94
!rhel-7-server-satellite-tools-6.4-rpms/x86_64     Red Hat Satellite Tools 6.4 (for RHEL 7 Server) (RPMs)     73
!rhel-server-rhscl-7-rpms/x86_64                   Red Hat Software Collections RPMs for Red Hat Enterpri 10,935
repolist: 66,158

이 명령은 다음과 같습니다.

subscription-manager status

현재 상태를 표시합니다.

주문하다

nslookup google.com

올바르게 해결되었으며 정상적으로 탐색할 수 있습니다.

/etc/resolv.conf의 내용입니다.

# Generated by NetworkManager
search othecompany.dom
nameserver 1.1.1.1

yum repolist에 의해 생성된 저장소 URL 중 하나에 대해 컬 명령을 사용하려고 하면 DNS 서버가 해당 URL을 찾을 수 없습니다.

따라서 어떤 이유로 RedHat 7 저장소의 이름은 공용 DNS에서 사용할 수 없는 것처럼 보입니다. 어쩌면 다른 회사의 DNS 서버에 있는 것일까요?

답변1

"아마도"는 아닙니다. 이 이름은 개인 DNS 공간의 일부이며 분명히 내부 위성 설정을 가리킵니다.

공개 DNS 이름에 대한 DNS 변경은 Google이 조직의 DNS 서버만 알고 있는 비공개 DNS 이름을 확인할 수 없기 때문에 발생합니다.

내부 DNS 설정 및/또는 위성 문제를 겪고 있는 경우 고객 서비스 데스크에 티켓을 제출하세요.

그렇지 않으면 일반적으로 해당 계약에 따라 RH 패키지를 업그레이드/설치할 수 없습니다.

참고자료 보기Red Hat Satellite - Red Hat 인프라를 관리하는 가장 좋은 방법

반품Red Hat Content Delivery Network 리포지토리와 Satellite 6에서의 사용에 대해 알아보세요.

관련 정보