Cannot install on Linux when Preview1 is present
See original GitHub issueCopied from: https://github.com/dotnet/core/issues/717#issuecomment-312000817
Steps to reproduce
follow the install instructions on how to install the apt-get package.
Expected behavior
install succeeds
Actual behavior
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)
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (11 by maintainers)
@DamianEdwards @steveharter @muratg we probably need to meet to discuss this. I think the runtime store is going to need to go in a versioned folder.
getting started https://www.microsoft.com/net/core/preview#linuxubuntu And “2.0.0 Preview 2 Known Issues” https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0.0-preview2-known-issues.md#ubuntu---uninstall-preview-1-before-attempting-to-install-preview-2