question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

*.failed files causing massive headache with some clients being unable to install/update

See original GitHub issue

Description

There are two feeds (nuget.org) and an internal feed that both have different versions of System.Windows.Interactivity.

  • The nuget.org package is deprecated (not sure if that matters).
  • nuget.org has versions 1.0.0 and 1.0.1
  • The internal feed has version 3.0.40218.0
  • paket.dependencies specifies ~> 3.0, so the nuget.org packages should be disregarded completely

Repro steps

paket.dependencies:

framework: auto-detect
source https://nuget.org/api/v2
source https://internal.feed.local/httpAuth/app/nuget/v1/FeedService.svc

nuget System.Windows.Interactivity ~> 3.0

paket install tries to query nuget.org for ~> 3.0, but fails with this message:

Paket version 4.8.5
Resolving packages for group Main:
Paket failed with:
        There was a version conflict during package resolution.
  Could not resolve package System.Windows.Interactivity >= 3.0 < 4.0:
   - Available versions:
     - (1.0.1, [https://www.nuget.org/api/v2])
     - (1.0.0, [https://www.nuget.org/api/v2])

  Please try to relax some conditions or resolve the conflict manually (see http://fsprojects.github.io/Paket/nuget-dependencies.html#Use-exactly-this-version-constraint).

We tried reordering the source statements, but that didn’t help.

We were able to generate a paket.lock file in an earlier version of paket, something between Fri Feb 3 16:42:44 2017 +0100 (last commit on the lockfile) and today broke that feature.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:29 (28 by maintainers)

github_iconTop GitHub Comments

4reactions
matthidcommented, May 19, 2017

Maybe I can help with debugging this (Skype “matthi dot d at live dot de”)? If not possible I’d suggest setting a breakpoint somewhere around the lines I posted above and see which path is taken for your package…

1reaction
agrosscommented, May 17, 2017

Idea: bundler adds its version to the lock file (only when it changes). Paket should probably too. @forki

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to install update. An error…
Happened to me on my 6S 16gb and I found the root cause. It's was a storage problem, you must have at least...
Read more >
Fix “Unable to Install Update” Error for iOS & iPadOS
If you're trying to install an iOS or iPadOS software update and discover a failure error that states “Unable to Install Update –...
Read more >
Unable To Install Update iOS 15.7? An Error Occurred ? (Fix)
1. Open Settings and browse for General -> iPhone Storage. 2. Search for the iOS 15.7 update file and tap on it. 3....
Read more >
5 Tips to Fix "Unable to Install Update An Error Occurred ...
Update iPhone Using a Tool hot. 1. Check iPhone Storage. Being unable to install update when upgrading to iOS 16 can be caused...
Read more >
How to Fix an Error Occurred Installing iOS 16 [7 Ways]
Unable to install iOS 16, or software update failed? Read this post to get solutions on how to fix an error that occurred...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found