-
Notifications
You must be signed in to change notification settings - Fork 372
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
opam install --deps-only --locked
has nothing to do or installs wrong version
#6248
Comments
Unfortunately I already wiped the opam switch and recreated it from scratch. That issue/PR seem to be about pinned packages, but neither the ppxlib nor goblint package (whose directory I'm in) were pinned in my switch. Or did the pinned goblint-cil package (to be upgraded in the same operation) also screw up other package installs then? |
I was able to reproduce with That's pretty annoying, i'll have a go at fixing it. Thanks for the report. |
Discussion in dev meeting: |
I had the following in the opam package files in the current directory:
Trying to install those dependencies suggests the following:
Even though I hadn't done
opam update
for a while, my local repositories were aware of the existence of ppxlib.0.32.1.However, with
--locked
, suddenly there's nothing to do:Which is clearly wrong: with
--locked
the required dependency is not installed.Then I updated my local repositories:
(The pinned packages match the opam package files in the directory.)
And tried again:
Which is also wrong: with
--locked
the wrong version of the required dependency is to be installed.For reference, I didn't have the latest opam when doing this, so maybe something has been recently fixed:
The text was updated successfully, but these errors were encountered: