-
Notifications
You must be signed in to change notification settings - Fork 358
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
Depexts detection does not work on CentOS when EPEL is involved #4669
Comments
Hmm. Depending on epel-release as a depext may work for CentOS, but that already doesn't work for RHEL (you're supposed to install the epel-release rpm explicitly to enable it, IIRC). This can't be fixed in depext detection (at least quickly) - it's fundamentally about configuring the package manager which is not what this is for. Essentially the OS package manager has not been "correctly" configured (it'd be like having the wrong apt repo configuration) Practical thoughts, though:
|
Referencing all the relevant parts of this. This part, pulled in from ocaml-opam/opam-depext#77, is not working (the special-casing needs to be lifted, executed - i.e. opam/src/state/opamSysInteract.ml Lines 531 to 547 in 3cd0829
There's also the original issues in ocaml-opam/opam-depext#70 and ocaml-opam/opam-depext#76. I'm rather on @avsm's side in ocaml-opam/opam-depext#77 (comment) - I'm not convinced opam-depext should ever have been doing this. |
Detected in ocaml/opam-repository#18704
The way things work in CentOS wrt opam is that when EPEL is needed, we install it first (through
epel-release
) then we install the package required. However the new depexts detection in opam does not find the package since it is not yet available (as it is in the EPEL repository) and thus mark it as unavailable.I'm not entirely sure how to deal with that here..
The text was updated successfully, but these errors were encountered: