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

Paket update ignores paket.dependencies rules #1841

dustinmoris opened this Issue Aug 1, 2016 · 1 comment


None yet
1 participant

dustinmoris commented Aug 1, 2016


I noticed the following issue. I have a complete empty folder with paket.exe and paket.dependencies.

The paket.dependencies file has the following content:


nuget FSharp.Core ~> 2.0

Now when I run paket install it will successfully pull the package and create a paket.lock file.

After this I run paket update nuget FSharp.Core version 4.0.0 and Paket pulls the v4 package of FSharp.Core and updates the paket.lock file despite the explicit rule ~> 2.0 in my paket.dependencies file.

Repro steps

See above.

Expected behavior

I see two possible behaviors which I would consider correct:

  1. Paket doesn't allow me to update to a version which is not allowed by the paket.dependencies rules and throw an error or warning message.
  2. Or Paket will update to the specified version, but also update the paket.dependencies file to match the new version.

Actual behavior

Mismatch between paket.dependencies and the actual pulled package.

Known workarounds

Manual fixing in files.

Related information


@forki forki closed this in 7d72cfb Aug 9, 2016


This comment has been minimized.

Show comment
Hide comment

dustinmoris Aug 9, 2016

Awesome, thank you!

Awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment