Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alonsoac opened this issue Aug 28, 2024 · 1 comment
Open

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

alonsoac opened this issue Aug 28, 2024 · 1 comment

Comments

@alonsoac
Copy link

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

@alonsoac alonsoac changed the title The repository mapping file is invalid AlmaLinx 8 -> 9 The repository mapping file is invalid AlmaLinux 8 -> 9 Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@alonsoac and others