Translated message

A translation of this page exists in English.

Createrepo が原因で RHEL 8 reposync でモジュールの競合が発生する

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content