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
RFE: flag to keep multilib package versions in sync #149
Comments
Yes. Do you really want to enforce it for explicit user requests as well? |
@jsilhan, what do you think? |
Btw, you can "fix" that in hawkey/libdnf with SOLVER_NOAUTOSET, so that the solver doesn't assume the arch is intentional for that job. If SOLVER_NOAUTOSET is used, libsolv does not attempt to guess the intention from the job. I.e. it does not assume SOLVER_SETNAME for SOLVER_SOLVABLE_NAME installs, SOLVER_SETNAME | SOLVER_SETARCH | SOLVER_SETVENDOR | SOLVER_SETREPO | SOLVER_SETEVR for SOLVER_SOLVABLE installs, and so on. See jobtodisablelist() in solver.c |
that seems like workaround... Would be nice to get flag which would completely enforce to be all multilib arches in sync |
Well, I won't add it if it will not be used, and your question above is not answered yet... |
Currently DNF do queries on packages, find package ids based on filters and then put it into selector to resolve one of given packages. If the flag would handle |
We want the packages to be at the same version. |
@mlschroe friendly ping, we want to lock-in 32bit and 64bit versions of same package to same evr in Fedora. |
(by having solverflag or poolflag) |
@mlschroe we would really like to have this flag for Fedora. |
I think this is still not answered… Yes, this should make sure that multilib packages are kept in sync all the time. |
I can easily add a flag that makes the solver not disable "infarch" rules, but that means that there will be no way to install that foo-1-1.i686 package with dnf (as there is no corresponding foo-1.1.x86_64 package). |
@mlschroe I'll check the YUM behavior and write it back here. |
I promised to chime in with some information on how yum handles this. In yum, we have the following config option (see
If the option is enabled, yum will verify in the transaction building phase in |
results into:
From https://bugzilla.redhat.com/show_bug.cgi?id=1326157
The text was updated successfully, but these errors were encountered: