Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

dnvm upgrade fails to locate a stable version from nuget on Mac and Linux #235

Closed
lilith opened this issue Apr 29, 2015 · 11 comments · Fixed by #236
Closed

dnvm upgrade fails to locate a stable version from nuget on Mac and Linux #235

lilith opened this issue Apr 29, 2015 · 11 comments · Fixed by #236
Assignees
Labels
Milestone

Comments

@lilith
Copy link

lilith commented Apr 29, 2015

Should dnvm upgrade fail by default?

ndj-mbp:NancyApp nathanael$ dnvm upgrade
Determining latest version
Error: Could not find latest version from feed https://nuget.org/api/v2
ndj-mbp:NancyApp nathanael$ dnvm -v
Unknown command -v
ndj-mbp:NancyApp nathanael$ dnvm
    ___  _  ___   ____  ___
   / _ \/ |/ / | / /  |/  /
  / // /    /| |/ / /|_/ /
 /____/_/|_/ |___/_/  /_/

.NET Version Manager - Version 1.0.0-beta5-10371
By Microsoft Open Technologies, Inc.

DNVM can be used to download versions of the .NET Execution Environment and manage which version you are using.
You can control the URL of the stable and unstable channel by setting the DNX_FEED and DNX_UNSTABLE_FEED variables.

Current feed settings:
Default Stable: https://nuget.org/api/v2
Default Unstable: https://www.myget.org/F/aspnetvnext/api/v2
Current Stable Override: <none>
Current Unstable Override: <none>

Use dnvm [help|-h|-help|--help]  to display help text.

ndj-mbp:NancyApp nathanael$ dnvm upgrade -u
Determining latest version
Latest version is 1.0.0-beta5-11649
Downloading dnx-mono.1.0.0-beta5-11649 from https://www.myget.org/F/aspnetvnext/api/v2
Download: https://www.myget.org/F/aspnetvnext/api/v2/package/dnx-mono/1.0.0-beta5-11649
######################################################################## 100.0%
Installing to /Users/nathanael/.dnx/runtimes/dnx-mono.1.0.0-beta5-11649
Adding /Users/nathanael/.dnx/runtimes/dnx-mono.1.0.0-beta5-11649/bin to process PATH
Setting alias 'default' to 'dnx-mono.1.0.0-beta5-11649'
@muratg
Copy link

muratg commented Apr 29, 2015

DNX packages with the new names will be available on NuGet shortly. Please retry in an hour or so.

/cc: @danroth27

@xudonax
Copy link

xudonax commented Apr 29, 2015

It doesn't work yet, but I don't know if it should work by now?

patrick@Patricks-MBP:~$ dnvm
    ___  _  ___   ____  ___
   / _ \/ |/ / | / /  |/  /
  / // /    /| |/ / /|_/ / 
 /____/_/|_/ |___/_/  /_/  

.NET Version Manager - Version 1.0.0-beta5-10371
By Microsoft Open Technologies, Inc.

DNVM can be used to download versions of the .NET Execution Environment and manage which version you are using.
You can control the URL of the stable and unstable channel by setting the DNX_FEED and DNX_UNSTABLE_FEED variables.

Current feed settings:
Default Stable: https://nuget.org/api/v2
Default Unstable: https://www.myget.org/F/aspnetvnext/api/v2
Current Stable Override: <none>
Current Unstable Override: <none>

Use dnvm [help|-h|-help|--help]  to display help text.

patrick@Patricks-MBP:~$ dnvm upgrade
Determining latest version
Error: Could not find latest version from feed https://nuget.org/api/v2

@richardvaldivieso
Copy link

Still getting the same error

@bryangm
Copy link

bryangm commented Apr 29, 2015

I am still receiving the same error

@machi1990
Copy link

Still receiving the same error

@barranger
Copy link

This is an issue with not following redirects. To fix the issue, use:

export DNX_FEED=https://www.nuget.org/api/v2

then it should run fine.

@xudonax
Copy link

xudonax commented Apr 29, 2015

Yes, that seems to work just fine. Thanks!

@richardvaldivieso
Copy link

Great it works! Thanks

@muratg
Copy link

muratg commented Apr 29, 2015

Two isues:

@muratg muratg added this to the 1.0.0-beta5 milestone Apr 29, 2015
@muratg muratg added the bug label Apr 29, 2015
@muratg muratg changed the title dnvm upgrade fails to locate a stable version from nuget, adding -u fixes it? dnvm upgrade fails to locate a stable version from nuget on Mac and Linux Apr 29, 2015
@glennc
Copy link
Member

glennc commented Apr 29, 2015

PR sent for the URL. -L is already being passed to CURL. So I don't know what that is about. But we can investigate that after we fix the details.

@MRdNk
Copy link

MRdNk commented May 19, 2015

@barranger thank you 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants