Skip to content

The repository mapping file is invalid AlmaLinux 8 -> 9 #93

@alonsoac

Description

@alonsoac

Hi. I am trying to upgrade AlmaLinux 8 to 9. I have these installed:
leapp-0.16.0-2.el8.noarch
leapp-upgrade-el8toel9-deps-0.19.0-7.1.el8.noarch
python3-leapp-0.16.0-2.el8.noarch
leapp-upgrade-el8toel9-0.19.0-7.1.el8.noarch
leapp-deps-0.16.0-2.el8.noarch
leapp-data-almalinux-0.2-15.el8.20230823.noarch
elevate-release-1.0-2.el8.noarch

When I run leapp preupgrade I get these errors

2024-08-27 22:49:30.791037 [ERROR] Actor: vendor_repositories_mapping
Message: The repository mapping file is invalid: the JSON does not match required schema (wrong field type/value): The value of "mapping" field is None, but this is not allowed. Ensure that the current upgrade path is correct and is present in the mappings: 8 -> 8
Summary:
Hint: Read documentation at the following link for more information about how to retrieve the valid file: https://access.redhat.com/articles/3664871
2024-08-27 22:49:38.490347 [ERROR] Actor: repository_mapping
Message: The repository mapping file is invalid: the JSON does not match required schema (wrong field type/value): The value of "mapping" field is None, but this is not allowed
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-el8toel8 rpm.
2024-08-27 22:49:51.009072 [ERROR] Actor: repositories_blacklist
Message: Actor didn't receive required messages: RepositoriesMapping

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions