You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With opam 2.0, using opam remove -a was a useful command which removes any packages that hasn't been purposefully installed by the user.
However with opam 2.1 (master) currently, the following error is given:
$ opam remove -a
The following dependencies couldn't be met:
- ocaml-variants -> ocaml = 4.11.0 -> ocaml-config
Your request can't be satisfied:
- Conflicting query for package ocaml-config.1
No solution found, exiting
The text was updated successfully, but these errors were encountered:
kit-ty-kate
changed the title
opam remove -a (without arguments) does not work with opam 2.1~alpha1
[opam 2.1~alpha] opam remove -a (without arguments) does not work
Jun 29, 2020
From your message, it seems that the dependencies of the base packages are not properly added to the switch roots before the cleanup; obviously trying to remove them then results in a failure.
Thanks for reporting!
With opam 2.0, using
opam remove -a
was a useful command which removes any packages that hasn't been purposefully installed by the user.However with opam 2.1 (master) currently, the following error is given:
The text was updated successfully, but these errors were encountered: