-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
packages-microsoft-com-prod repository for RHEL9 has a system-release < 9 as a dependency. #30748
Comments
Thank you for opening this issue, we will look into it. |
Seems like this works when performing the steps manually in our affected hosts. Issue is likely on our side. Closing Issue. |
Reopening as the root cause of the issue was found. The package requirements are listed as follows:
system-release is an outdated package, if the package is for RHEL and the package name is officially redhat-release. See example:
This was likely changed recently which is why we started seeing issues. While it seems to work installing manually with dnf it breaks things like the ansible dnf module [1]. This should be changed. |
Hi @YoNoSoyVictor , the name of the package (
Here you see that this version of Furthermore, if it works with You're correct that this requirement is a recent change and it explains why this only recently started failing, but so far I don't see any evidence that this change is wrong. The intent here is to prevent people from accidentally installing the wrong package/repo for their system, eg installing the RHEL 8 repo on a RHEL 9 system or vice-versa, and it seems to be working properly from what I can see. |
I'm also confused because the error message you reported in the initial comment does not match with your later investigation. That error message claims to be looking for a version of
|
Hey team. Hope everything is going well!
We just noticed some issues recently when installing the Azure CLI in an automated manner For RHEL 9 (The errors started round 2025-02-03) . We now receive this message:
"Depsolve Error occurred: \n Problem: conflicting requests\n - nothing provides system-release < 9 needed by packages-microsoft-prod-1.1-2.noarch from @commandline"
The error is self-explanatory - it expects a system-release version < 9. However the repository being added is
https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm
as explained in step 2 from the Azure CLI installation instructions [1]. This should be the correct repository for RHEL 9.Is it possible that there were some recent changes in this repository?
[1] https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=dnf#install-azure-cli
The text was updated successfully, but these errors were encountered: