다른 저장소를 설치한 후 Yum 문제가 발생함

다른 저장소를 설치한 후 Yum 문제가 발생함

또 나야. 불행하게도 다른 저장소를 설치하려고 시도하는 동안 원래 yum 저장소가 손상되어 이제 오류 메시지가 표시됩니다.

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

https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc: [Errno 14] HTTPS 오류 404 - 찾을 수 없음 다른 미러를 시도하는 중입니다. 이 문제를 해결하려면 아래 기술 자료 문서를 참조하세요.

https://access.redhat.com/articles/1320623

위의 문서가 이 문제를 해결하는 데 도움이 되지 않으면 Red Hat 지원팀에 티켓을 개설하십시오.

rhel-서버-rhscl-7-베타-rpms | 4.0KB 00:00:00

구성된 리포지토리 중 하나가 실패했으며(Red Hat Enterprise Linux 7 서버용 Red Hat Software Collections 베타 RPM), yum에 캐시된 데이터가 부족하여 계속할 수 없습니다. 이 시점에서 yum이 할 수 있는 유일한 안전한 일은 실패입니다. 이 문제를 "수정"하는 몇 가지 방법이 있습니다.

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will then
    just ignore the repository until you permanently enable it again or use
    --enablerepo for temporary usage:

        yum-config-manager --disable rhel-server-rhscl-7-beta-rpms

 4. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=rhel-server-rhscl-7-beta-rpms.skip_if_unavailable=true

실패: rhel-server-rhscl-7-beta-rpms의 repodata/repomd.xml.asc: [Errno 256] 더 이상 시도할 미러가 없습니다. https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhscl/1/os/repodata/repomd.xml.asc: [Errno 14] HTTPS 오류 404 - 찾을 수 없음

이 문제를 해결하는 방법을 아는 사람이 있나요? 문제가 있는 다른 저장소를 이미 제거했습니다.

편집: wget을 사용했는데 반환된 내용은 다음과 같습니다.

wget https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhs‌​cl/1/os/repodata/rep‌​omd.xml.asc

--2016-09-22 14:52:19-- https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhs%E2%80%8C%E2%80%8Bcl/1/os/repodata/rep%E2%80%8C% E2%80%8Bomd.xml.asc cdn.redhat.com(cdn.redhat.com) 해결 중... 173.222.216.251 cdn.redhat.com(cdn.redhat.com)|173.222.216.251|:443에 연결 중... 연결되었습니다. 오류: '/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/에서 발행한 cdn.redhat.com의 인증서를 확인할 수 없습니다.[이메일 보호됨]': 자체 서명된 인증서가 발견되었습니다. cdn.redhat.com에 안전하지 않게 연결하려면 --no-check-certificate'를 사용하십시오.--no-check-certificate'. --2016-09-22 14:52:19-- https://cdn.redhat.com/content/beta/rhel/server/7/x86_64/rhs%E2%80%8C%E2%80%8Bcl/1/os/repodata/rep%E2%80%8C%E2%80%8Bomd.xml.asc Connecting to cdn.redhat.com (cdn.redhat.com)|173.222.216.251|:443... connected. ERROR: cannot verify cdn.redhat.com's certificate, issued by ‘/C=US/ST=North Carolina/O=Red Hat, Inc./OU=Red Hat Network/CN=Red Hat Entitlement Operations Authority/[email protected]’: Self-signed certificate encountered. To connect to cdn.redhat.com insecurely, use

답변1

최근 Red Hat 개발자 구독에서도 같은 현상을 발견했습니다. 대부분의 기본 구독 저장소는 전혀 필요하지 않으며, 보시다시피 그 중 적어도 하나는 작동하지 않습니다. 가장 좋은 방법은 게시한 오류 출력에 자세히 설명된 대로 문제가 있는 저장소를 비활성화하는 것입니다.

yum-config-manager --disable rhel-server-rhscl-7-beta-rpms

더 좋은 점은 불필요한 많은 양의 저장소 데이터를 다운로드하지 않으려면 모든 저장소를 비활성화하고 기본 저장소만 활성화하는 것입니다.

yum-config-manager --disable '*'
yum-config-manager --enable rhel-7-server-rpms

docker 및 *-devel 패키지와 같은 유용한 기능이 있는 rhel-7-server-optional-rpms및 활성화를 고려할 수도 있습니다 .rhel-7-server-extras-rpms

답변2

를 사용하여 정리를 시도하고 yum clean all도움이 되는지 확인하세요.

관련 정보