RHEL 8 환경에서 reposync 실행 시 Createrepo로 인해 모듈 충돌이 발생
Issue
- 기존 repodata에 모듈 메타데이터를 수동으로 삽입하는 방법
-
createrepo_c명령어를 통해 생성된 RHEL8 저장소 미러가 모듈 정보를 올바르게 처리하지 못함:# yum update ... Error: Problem 1: cannot install both perl-libs-4:5.24.4-404.module+el8.1.0+2926+ce7246ad.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64 - package perl-Algorithm-Diff-1.1903-10.module+el8.1.0+2926+ce7246ad.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed - cannot install the best update candidate for package perl-libs-4:5.26.3-416.el8.x86_64 - cannot install the best update candidate for package perl-Algorithm-Diff-1.1903-9.el8.noarch -
Red Hat에서 제공하는 저장소에서 직접 업데이트하도록 전환한 후에는 오류가 발생하지 않습니다.
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- createrepo_c 버전 0.16.2-1.el8[수정됨]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.