I came across a bug when installing certain packages using opam.
> opam install foo
Sorry, no solution found: there seems to be a problem with your request.
No solution found, exiting
According to particular form of the error message I read you are using the opam v1.2 internal solver (which you can confirm via opam config report
). This solver is no longer able to cope with the repository.
Either install an external solver, see here or switch to opam v2
(currently in rc) which bundles a decent solver.
Opam was using a version of the ocaml compiler that wasn't able to install this package. So unistall the current version and use opam switch
to set opam to use the latest ocaml compiler.
> opam switch x.xx.x
Then make sure to update/upgrade opam.
> opam update
> opam upgrade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With