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.exe install fails to install package on OSX/mono. #1871

Open
MorganPersson opened this Issue Aug 23, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@MorganPersson
Contributor

MorganPersson commented Aug 23, 2016

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
@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Aug 23, 2016

Member

I don't think this is mono related,
and it works for me.
I will add a integration test to test on mono. wait a sec

Member

forki commented Aug 23, 2016

I don't think this is mono related,
and it works for me.
I will add a integration test to test on mono. wait a sec

forki added a commit that referenced this issue Aug 23, 2016

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Aug 23, 2016

Member

test at #1872

Member

forki commented Aug 23, 2016

test at #1872

@forki

This comment has been minimized.

Show comment
Hide comment
@forki

forki Aug 23, 2016

Member

can you try to run "paket update -f" ?

Member

forki commented Aug 23, 2016

can you try to run "paket update -f" ?

@MorganPersson

This comment has been minimized.

Show comment
Hide comment
@MorganPersson

MorganPersson Aug 23, 2016

Contributor

No difference at all.
I think adding a trace of the exception swallowed here might help.

Contributor

MorganPersson commented Aug 23, 2016

No difference at all.
I think adding a trace of the exception swallowed here might help.

forki added a commit that referenced this issue Aug 23, 2016

@DrifterApps

This comment has been minimized.

Show comment
Hide comment
@DrifterApps

DrifterApps Jun 3, 2017

Hi, was this problem ever fixed? I have the same problem, all my PCL libraries includes and build correctly. But my monoandroid app does not. Not a simple dependencies is recognized...

Hi, was this problem ever fixed? I have the same problem, all my PCL libraries includes and build correctly. But my monoandroid app does not. Not a simple dependencies is recognized...

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