fsprojects / fsprojects/Paket

paket.exe install fails to install package on OSX/mono.

Open
#1,871 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug paket runtime: .net framework/mono resolution
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Description

mono .paket/paket.exe install does not install any packages.
(and adding argument -v doesn't add any extra output)

Repro steps

Files
paket.dependencies:

source http://www.nuget.org/api/v2
framework >= net45

group Main
source http://www.nuget.org/api/v2

nuget Suave >= 1.0.0

paket.references:

Suave

Please provide the steps required to reproduce the problem
$ mono .paket/paket.exe -v install
output:

Paket version 3.15.2.0
Resolving packages for group Main:
 - Suave 1.1.3
    Package not available.
 - Suave 1.1.2
    Package not available.
 - Suave 1.1.1
    Package not available.
 - Suave 1.1.0
    Package not available.
 - Suave 1.0.0
    Package not available.
Paket failed with:
    There was a version conflict during package resolution.
  Could not resolve package Suave:
   - Dependencies file requested package Suave: >= 1.0
   - Available versions:
     - (2.0.0-alpha4, [http://www.nuget.org/api/v2])
     - (2.0.0-alpha3, [http://www.nuget.org/api/v2])
     - (1.1.3, [http://www.nuget.org/api/v2])
     - (1.1.2, [http://www.nuget.org/api/v2])
     - (1.1.1, [http://www.nuget.org/api/v2])
     - (1.1.0, [http://www.nuget.org/api/v2])
     - (1.0.0, [http://www.nuget.org/api/v2])
     - (1.0.0-beta2, [http://www.nuget.org/api/v2])
.... (more versions listed)
     - (0.0.1, [http://www.nuget.org/api/v2])

  Please try to relax some conditions.
Expected behavior

Suave should be installed.
Or, if I supply '-v' I get details about why the different versions couldn't be installed.

Known workarounds
Related information
  • OS X El Capitan 10.11.6
  • Mono 4.2.3.4
  • F# 4.0
  • Paket 3.15.2.0
  • Working internet connection :-)
  • NuGet working, I can download Suave 1.1.3 manually

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 paket.dependencies and paket.references files and run mono .paket/paket.exe -v install using the reported Suave repro. Trace the package-resolution failure and inspect why versions are reported as unavailable on Mono; done when Suave installs successfully or verbose output identifies the cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.