Skip to content
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 updates unrelated package #400

Closed
agross opened this issue Nov 28, 2014 · 2 comments
Closed

paket update updates unrelated package #400

agross opened this issue Nov 28, 2014 · 2 comments

Comments

@agross
Copy link
Contributor

agross commented Nov 28, 2014

agross@AXL /gw/Kunden/foo/Presence @master
$ .paket/paket.exe update nuget Microsoft.Rtc.Collaboration-2013
Paket version 0.16.3.0
found: Presence\paket.dependencies
Resolving packages:
    - exploring Castle.Windsor 3.2.1
    - exploring Castle.LoggingFacility 3.2.0
    - exploring Castle.Windsor-log4net 3.2.0
    - exploring Rx-Main 2.2.5
  - fetching versions for Castle.Core
    - exploring Castle.Core 3.2.0
  - fetching versions for Castle.Core-log4net
    - exploring Castle.Core-log4net 3.2.0
    - exploring log4net 1.2.10
  - fetching versions for Rx-Core
    - exploring Rx-Core 2.2.5
  - fetching versions for Rx-Interfaces
    - exploring Rx-Interfaces 2.2.5
  - fetching versions for Rx-Linq
    - exploring Rx-Linq 2.2.5
  - fetching versions for Rx-PlatformServices
    - exploring Rx-PlatformServices 2.2.5
  - fetching versions for Microsoft.Rtc.Collaboration-2013
    - exploring Microsoft.Rtc.Collaboration-2013 5.0.8308.291
    - exploring RestSharp 104.5.0
    - exploring Microsoft.Rtc.Collaboration-2010 4.0.7577.0
    - exploring NuGet.CommandLine 2.8.3
    - exploring NUnit.Runners 2.6.3
    - exploring FakeItEasy 1.24.0
    - exploring SpecFlow.NUnit 1.1.1
    - exploring Nancy.Bootstrappers.Windsor 0.23.2
    - exploring Nancy.Hosting.Self 0.23.2
    - exploring Nancy.Serialization.JsonNet 0.23.2
    - exploring Metrics.NET-net40 0.2.6
  - fetching versions for NUnit
    - exploring NUnit 2.6.3
  - fetching versions for Nancy
    - exploring Nancy 0.23.2
  - fetching versions for Newtonsoft.Json
    - exploring Newtonsoft.Json 6.0.6
  - fetching versions for SpecFlow
    - exploring SpecFlow 1.9.0
Locked version resolutions written to Presence\paket.lock
Downloading Microsoft.Rtc.Collaboration-2013 5.0.8308.291 to C:\Users\agross\AppData\Local\NuGet\Cache\Microsoft.Rtc.Collaboration-2013.5.0.8308.291.nupkg
Newtonsoft.Json 6.0.6 unzipped to Presence\packages\Newtonsoft.Json
Microsoft.Rtc.Collaboration-2013 5.0.8308.291 unzipped to Presence\packages\Microsoft.Rtc.Collaboration-2013
2 minutes, 5 seconds - ready.
diff --git a/Paket.lock b/Paket.lock
index 11070f0..cca88f3 100644
--- a/Paket.lock
+++ b/Paket.lock
@@ -25,7 +25,7 @@ NUGET
     Nancy.Serialization.JsonNet (0.23.2)
       Nancy (>= 0.23.2)
       Newtonsoft.Json (>= 0)
-    Newtonsoft.Json (6.0.5)
+    Newtonsoft.Json (6.0.6)
     NuGet.CommandLine (2.8.3)
     NUnit (2.6.3)
     NUnit.Runners (2.6.3)
@@ -51,4 +51,4 @@ NUGET
   remote: http://teamcity/guestAuth/app/nuget/v1/FeedService.svc
   specs:
     Microsoft.Rtc.Collaboration-2010 (4.0.7577.0)
-    Microsoft.Rtc.Collaboration-2013 (5.0.8308.0)
+    Microsoft.Rtc.Collaboration-2013 (5.0.8308.291)

Microsoft.Rtc.Collaboration-2013 does not define any package dependency!

@agross agross changed the title paket update updated unrelated package paket update updates unrelated package Nov 28, 2014
@forki
Copy link
Member

forki commented Nov 29, 2014

after thinking a bit about it I think I know the issue. It's related to something @isaacabraham noticed.

IIRC we only pin the direct dependencies from the dependencies file as referenced in the lockfile.
Actually we need to analyze the graph here and pin all packages that are independent to the package in question.

@forki
Copy link
Member

forki commented Dec 3, 2014

This is fixed. Just tried on @agross's repo.

@forki forki closed this as completed Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants