Bug 1266761
Summary: | [RFE] Add option to allow users to select from multiple providers of a Requirement at depsolve time | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Neal Gompa <ngompa13> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | carl, Frodox, gholms, jzeleny, packaging-team-maint, tim.lauridsen, vmukhame |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-06 14:59:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1533878, 1148627, 1549851 | ||
Bug Blocks: |
Description
Neal Gompa
2015-09-27 13:58:33 UTC
This would also be useful with the new boolean dependency logic support in RPM, as the user would be queried on the correct choice instead of it picking one. The feature could be useful but I have to close this. We would need the libsolv to provide provides selection callback in order to accomplish this. It could be done by a lots of queries without usage of libsolv depsolver - which is a way backwards. Feel free to reopen once it's possible. related: https://github.com/openSUSE/libsolv/issues/66 and bug 1192182 So, I made a feature request to libsolv about it[0], and it turns out that it is possible, provided the user query happens after all the chains have been retrieved. So instead of happening *during* the depsolve, it happens after the depsolve, where users can be queried to resolve "unresolvable" states. Having it happen at the end is totally fine, since the end result is still the same. [0]: https://github.com/openSUSE/libsolv/issues/107 It's been a couple of months since I filed this issue and reopened it. Has there been any progress on it? It would be extraordinarily useful to have for the purpose of resolving the provider cases I noted earlier, as well as "vendor" changes (package provided by one repository being replaced by one provided by another), and resolving boolean dependencies using user input where appropriate. It seems that it is indeed possible to set package preferences for DNF by having a package with Suggests, so I've implemented that in Mageia as "mageia-repos-pkgprefs" package. However, a user in Mageia has encountered issues related to not being able to select from equally valid providers of a capability. As I mentioned earlier, it should be possible after the depsolve is complete by libsolv, so hawkey/libhif should appropriately handle this and return a query to the user to make a decision. I've referenced the Mageia bug in the "See Also" since the Mageia bug tracker (which is a Bugzilla instance) doesn't seem to be available from the external bug trackers list. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. |