How to add the modules information after cloning the RHEL8 repository

Solution In Progress - Updated -

Issue

  • Repository mirror for RHEL8 created via createrepo_c command does not handle correctly modules information:

    # 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
    
  • After switching to direct update from Red Hat provided repositories, then there are no errors.

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In