[Rpm-maint] [rpm-software-management/rpm] if-else rich dependency always installs the if leg (Issue #3082)

Michael Schroeder notifications at github.com
Tue May 7 13:44:41 UTC 2024


This is not a rpm issue. rpm just checks if all dependencies are fulfilled, it does not choose packages. So you would need to take this to the dnf people who will tell you to ask the libsolv folks.

Anyway, what happens is that your dependency is basically telling the solver "either install add-determinism-nopython or install both python3-libs and add-determinism". Both are valid solutions and the solver is free to pick the one it likes. You could try to add a "Suggests: add-determinism-nopython" to give it a hint that it should prefer the nopython variant.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3082#issuecomment-2098446058
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/3082/2098446058 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240507/2fb4998c/attachment.html>


More information about the Rpm-maint mailing list