Why does leapp fails with "The repository mapping file is invalid: The obtained repomap data has unsupported version of format. Get 1.0.0 required 1.2.0" ?

Solution Verified - Updated -

Issue

  • leapp fails with The repository mapping file is invalid: The obtained repomap data has unsupported version of format. Get 1.0.0 required 1.2.0
============================================================
                           ERRORS
============================================================

2023-11-29 09:54:22.108156 [ERROR] Actor: repository_mapping
Message: The repository mapping file is invalid: The obtained repomap data has unsupported version of format. Get 1.0.0 required 1.2.0
Summary:
    Hint: All official data files are nowadays part of the installed rpms. This issue is usually encountered when the data files are incorrectly customized, replaced, or removed (e.g. by custom scripts). In case you want to recover the original file, remove it (if still exists) and reinstall the leapp-upgrade-el7toel8 rpm.
2023-11-29 09:55:09.263103 [ERROR] Actor: repositories_blacklist
Message: Actor didn't receive required messages: RepositoriesMapping
2023-11-29 09:55:12.627614 [ERROR] Actor: pes_events_scanner
Message: Cannot parse RepositoriesMapping data properly
Summary:
    Problem: Did not receive a message with mapped repositories

============================================================
                       END OF ERRORS
============================================================

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • leapp upgrade

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