Skip to content
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

.NET Core 2.0 Preview 2 won't install in Ubuntu 16.04.2 #717

Closed
MaximoTrinidad opened this issue Jun 29, 2017 · 8 comments
Closed

.NET Core 2.0 Preview 2 won't install in Ubuntu 16.04.2 #717

MaximoTrinidad opened this issue Jun 29, 2017 · 8 comments

Comments

@MaximoTrinidad
Copy link

Thanks for your interest in .NET Core.

Please note that this repo (dotnet/core) is not for filing product issues. Here are some repos where you can file an issue:

  • dotnet/cli - for CLI tools and questions
  • dotnet/corefx - for API issues and questions
  • dotnet/coreclr - for runtime issues
  • nuget/home - for NuGet questions and issues

I have follow both installation instructions in GitHub and the .NET Core Download page. I'm getting the same error message:

Unpacking dotnet-sdk-2.0.0-preview2-006497 (2.0.0-preview2-006497-1) ...
dpkg: error processing archive /var/cache/apt/archives/dotnet-sdk-2.0.0-preview2-006497_2.0.0-preview2-006497-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/dotnet/store/x64/netcoreapp2.0/microsoft.identitymodel.protocols/2.1.3/lib/netstandard1.4/Microsoft.IdentityModel.Protocols.dll', which is also in package dotnet-dev-2.0.0-preview1-005977 2.0.0-preview1-005977-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/dotnet-sdk-2.0.0-preview2-006497_2.0.0-preview2-006497-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any suggestions!

@Petermarcu
Copy link
Member

If you remove Preview1, perhaps it will get rid of the problem? dotnet-dev-2.0.0-preview1-005977

/cc @livarcocc it looks like we're installing the same thing to the same location and getting a conflict.

@MaximoTrinidad
Copy link
Author

Thanks @Petermarcu! I'll give it a try and see if uninstalling the previous version will clear the issue.
:)

@Petermarcu
Copy link
Member

Thanks @MaximoTrinidad let us know.

@MaximoTrinidad
Copy link
Author

HURRAY!!! @Petermarcu

Someone need to add this additional step in the instruction:

  1. remove previous version:
sudo apt remove dotnet-dev-2.0.0-preview1-005977
  1. Then, install the latest one:
sudo apt-get install dotnet-sdk-2.0.0-preview2-006497

I got it loaded now.

dotnet_fix_2017-06-29_11-01-01

Thanks for the tip!

@Petermarcu
Copy link
Member

Glad to hear it! I've copied this issue to the dotnet/cli repo because you definitely shouldnt have had to uninstall preview1. I'm going to close this issue here now. Thanks for reporting it!

@Petermarcu
Copy link
Member

@richlander @leecow can we get a note on the instructions that Preview1 of the sdk needs to be uninstalled?

@leecow
Copy link
Member

leecow commented Jun 29, 2017

Notes added to the download page, known issues doc and made the requirement more obvious on the Preview getting started page.

@MaximoTrinidad
Copy link
Author

@Petermarcu!! Awesome! Thanks again.
:)

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

No branches or pull requests

3 participants