Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Dne 05. 06. 20 v 8:41 Kevin Kofler napsal(a):
The fact that Obsoletes from outdated packages are being considered is the
bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1748187
but the DNF developers refused to acknowledge this and just closed the bug
when the issue was worked around in the font package somehow.

This is nothing that can be fixed in DNF directly.
DNF passes packages to libsolv to resolve the transaction and it can only cherry-pick packages for the transaction or set transaction flags.

If you want change in behavior, please open a discussion with libsolv's upstream. The currently supported flags are: https://github.com/openSUSE/libsolv/blob/master/doc/libsolv-bindings.txt#constants

If I understand correctly how the sat-solver works, it's populated with a set of rules before the transaction is resolved and it's not possible to tweak in on fly as yum did. It could be possible to pre-process the packages and hide Obsoletes of older packages, but what if the latest package has broken deps and doesn't get into transaction? DNF in Fedora has best=0. In that case the older package would get into transaction and its Obsoletes would be ignored - and that's definitely something we don't want.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux