fsprojects / fsprojects/Paket

Symlink errors? Failures when downloading; "Something went wrong"

Open
#3,767 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

Paket has started throwing lots of errors while restoring in the latter releases:

-version 5.226.0
-clitool paket 5.226.0
+version 5.241.5
+clitool paket 5.241.5

or:

 Downloading fake-cli 5.19.0 (Build)
 Download of fake-cli 5.19.0 (Build) done in 1 second. (53127 kbit/s, 7 MB)
 Downloading Http.fs 5.3
 Something went wrong while downloading System.Diagnostics.PerformanceCounter 4.5
 Message: Start of process ln failed.
   ==> Trying again
 Downloading Argu 5.5
 Downloading System.Diagnostics.PerformanceCounter 4.5
 Something went wrong while downloading runtime.rhel.7-x64.runtime.native.System.    Security.Cryptography.OpenSsl 4.3.3
 Message: Start of process ln failed.
   ==> Trying again
Repro steps

Please provide the steps required to reproduce the problem

  1. .paket/paket install
Expected behavior

Please provide a description of the behavior you expect.

Paket should not corrupt installs or else it should say what's wrong, not just "Something went wrong", as that's not a proper error message to act on.

Known workarounds

Downgrade? Perhaps it's .net 3.1-based?


Another output:

Downloading Paket 5.241.5
Download of System.Runtime.InteropServices 4.3 done in 373 milliseconds. (55700 kbit/s, 2 MB)
Not moving as '/Users/h/.nuget/packages/paket/5.241.5/paket.5.241.5.nupkg' already exists (maybe some other instance downloaded it as well)
Download of Paket 5.241.5 done in 2 seconds. (23799 kbit/s, 5 MB)
Performance:
 - Resolver: 28 seconds (2 runs)
    - Runtime: 1 second
    - Blocked (retrieving package details): 26 seconds (329 times)
    - Blocked (retrieving package versions): 1 second (2 times)
 - Disk IO: 1 second
 - Average Download Time: 187 milliseconds
 - Number of downloads: 10
 - Average Request Time: 61 milliseconds
 - Number of Requests: 528
 - Runtime: 36 seconds
Paket failed with
-> Could not find nuspec in '/Users/h/dev/app/packages/Paket', try deleting the directory and restoring again.

Same issue with 6.0.0-alpha011.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported .paket/paket install reproduction and compare Paket 5.226.0, 5.241.5, and 6.0.0-alpha011 output, focusing on the failed ln process and missing nuspec. Done means identifying the regression and ensuring installs either complete without corruption or report an actionable error.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.