CentOS 8 스트림 모듈 설치 패키지 충돌

CentOS 8 스트림 모듈 설치 패키지 충돌

redhat-lsb 패키지를 설치하려고 합니다. 이를 통해 해당 대상 머신에 대해 Ansible을 실행할 때 더 많은 사실을 수집할 수 있습니다.

redhat-lsb를 설치하려고 하면 다음과 같은 결과가 나타납니다:

yum install redhat-lsb
Last metadata expiration check: 0:05:12 ago on Thu 02 Jun 2022 08:19:04 PM UTC.
Error: 
 Problem: package redhat-lsb-4.1-47.el8.x86_64 requires redhat-lsb-languages = 4.1-47.el8, but none of the providers can be installed
  - package redhat-lsb-languages-4.1-47.el8.i686 requires perl(Fatal), but none of the providers can be installed
  - package redhat-lsb-languages-4.1-47.el8.x86_64 requires perl(Fatal), but none of the providers can be installed
  - conflicting requests
  - package perl-autodie-2.34-1.module_el8.6.0+1070+343f8e3c.noarch is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

perl-autodie에 문제가 있는 것 같습니다. 그런 다음 "yum module presents perl-autodie" 명령을 실행합니다. 결과는 다음과 같습니다.

yum module provides perl-autodie
Last metadata expiration check: 0:11:38 ago on Thu 02 Jun 2022 08:19:04 PM UTC.
perl-autodie-2.34-1.module_el8.6.0+1070+343f8e3c.noarch
Module   : perl:5.32:8060020220119032749:e82d91b1:x86_64
Profiles : 
Repo     : centos8-stream-appstream
Summary  : Practical Extraction and Report Language

결과에 따르면 perl-autodie는 perl:5.32 모듈에서 사용할 수 있습니다. 그런 다음 "yum module 활성화 perl:5.32" 명령을 사용하여 perl:5.32 모듈을 활성화하고 "yum module list perl"을 사용하여 결과를 확인했습니다. 결과는 다음과 같습니다.

# yum module enable perl:5.32
Last metadata expiration check: 0:13:06 ago on Thu 02 Jun 2022 08:19:04 PM UTC.
Problems in request:
Modular dependency problems with Defaults:

 Problem: module perl:5.26:8000020190628020724:55190bc5.x86_64 conflicts with module(perl:5.32) provided by perl:5.32:8060020220119032749:e82d91b1.x86_64
  - module perl:5.32:8060020220119032749:e82d91b1.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5.x86_64
  - module freeradius:3.0:8030020200831192931:1e4bbb35.x86_64 requires module(perl:5.26), but none of the providers can be installed
  - conflicting requests
Dependencies resolved.
============================================================================================================================================
 Package                          Architecture                    Version                            Repository                        Size
============================================================================================================================================
Enabling module streams:
 perl                                                             5.32                                                                     

Transaction Summary
============================================================================================================================================

Is this ok [y/N]: y
Complete!
# yum module list perl
Last metadata expiration check: 0:13:21 ago on Thu 02 Jun 2022 08:19:04 PM UTC.
Modular dependency problem:

 Problem: module perl:5.26:8000020190628020724:55190bc5.x86_64 conflicts with module(perl:5.32) provided by perl:5.32:8060020220119032749:e82d91b1.x86_64
  - module perl:5.32:8060020220119032749:e82d91b1.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5.x86_64
  - module freeradius:3.0:8030020200831192931:1e4bbb35.x86_64 requires module(perl:5.26), but none of the providers can be installed
  - conflicting requests
CentOS-Stream 8 AppStream
Name                  Stream                    Profiles                            Summary                                                 
perl                  5.24                      common [d], minimal                 Practical Extraction and Report Language                
perl                  5.26 [d]                  common [d], minimal                 Practical Extraction and Report Language                
perl                  5.30                      common [d], minimal                 Practical Extraction and Report Language                
perl                  5.32 [e]                  common [d], minimal                 Practical Extraction and Report Language                

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

이제 perl:5.26이 여전히 기본값이고 perl:5.32가 활성화되어 있음을 알 수 있습니다. perl:5.32를 활성화하면 perl-autodie 종속성이 충족되고 사용 가능하다고 가정할 수 있습니다. 지금 redhat-lsb를 설치하려고 하면 다음과 같은 결과가 나타납니다:

# yum install redhat-lsb
Last metadata expiration check: 0:16:42 ago on Thu 02 Jun 2022 08:19:04 PM UTC.
Modular dependency problem:

 Problem: module perl:5.26:8000020190628020724:55190bc5.x86_64 conflicts with module(perl:5.32) provided by perl:5.32:8060020220119032749:e82d91b1.x86_64
  - module perl:5.32:8060020220119032749:e82d91b1.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5.x86_64
  - module freeradius:3.0:8030020200831192931:1e4bbb35.x86_64 requires module(perl:5.26), but none of the providers can be installed
  - conflicting requests
Error: 
 Problem: package redhat-lsb-core-4.1-47.el8.x86_64 requires /usr/bin/lp, but none of the providers can be installed
  - package redhat-lsb-core-4.1-47.el8.x86_64 requires /usr/bin/lpr, but none of the providers can be installed
  - package redhat-lsb-4.1-47.el8.x86_64 requires redhat-lsb-core(x86-64) = 4.1-47.el8, but none of the providers can be installed
  - package cups-client-1:2.2.6-46.el8.x86_64 requires cups-libs(x86-64) = 1:2.2.6-46.el8, but none of the providers can be installed
  - conflicting requests
  - package cups-libs-1:2.2.6-46.el8.x86_64 is filtered out by exclude filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

freeradius 모듈은 perl:5.26 모듈에 의존하는 것으로 보이지만 perl:5.32 모듈이 활성화된 모듈입니다. freeradius는 필요없으니 "yum module Remove freeradius:3.0:8030020200831192931:1e4bbb35.x86_64"로 제거해보겠습니다.

Last metadata expiration check: 0:20:09 ago on Thu 02 Jun 2022 08:19:04 PM UTC.
Modular dependency problem:

 Problem: module perl:5.26:8000020190628020724:55190bc5.x86_64 conflicts with module(perl:5.32) provided by perl:5.32:8060020220119032749:e82d91b1.x86_64
  - module perl:5.32:8060020220119032749:e82d91b1.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5.x86_64
  - module freeradius:3.0:8030020200831192931:1e4bbb35.x86_64 requires module(perl:5.26), but none of the providers can be installed
  - conflicting requests
Problems in request:
missing groups or modules: freeradius:3.0:8030020200831192931:1e4bbb35.x86_64
Dependencies resolved.
Nothing to do.
Complete!

나는 appstream 모듈식 저장소 지옥에 완전히 갇혀 있습니다. 제가 하고 싶은 것은 redhat-lsb를 설치하는 것 뿐입니다. 이 시점에서 멈춰서 도움을 구하고 있습니다. 어떤 조언이라도 미리 감사드립니다.

답변1

달리기는 yum distro-sync트릭을 수행해야합니다.

관련 정보