Skip to content
Discussion options

You must be logged in to vote

downgrading would break every single project that depends on it.

Are any of these projects installed? If not, then opam can't know downgrading this package would break them.
If you're talking about local packages whose dependencies were installed with --deps-only but the packages are not installed themselves then this would require a rather large change to how opam works currently (see #6588). Hopefully we can fix that in the future but currently it's a bit tricky, if that's indeed your case sorry about that.

In the meantime pinning ansifmt using opam pin add ansifmt 2.0.0 should fix your issue, but it's not ideal.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by qexat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants