Error installing SDK in Linux Mint 18.2
See original GitHub issueSteps to reproduce
Following installation instructions from: https://www.microsoft.com/net/download/linux-package-manager/ubuntu18-04/sdk-current
sudo apt-get install dotnet-sdk-2.1
Causes error
Expected behavior
Installation of dotnet SDK
Actual behavior
This terminal output
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.1 : Depends: dotnet-runtime-2.1 (>= 2.1.2) but it is not going to be installed
Depends: aspnetcore-runtime-2.1 (>= 2.1.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Environment data
.NET Command Line Tools (1.0.1)
Product Information: Version: 1.0.1 Commit SHA-1 hash: 005db40cd1
Runtime Environment: OS Name: linuxmint OS Version: 18.2 OS Platform: Linux RID: ubuntu.16.04-x64 Base Path: /usr/share/dotnet/sdk/1.0.1
I’m surprised I was able to actually run ```dotnet --info`` because of the previous reported error
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Program doesn't run - SDK error - Linux Mint 18.2
Hi,. I've been trying for hours to configure the IntelliJ Java SDK. I've tried both Open JDK 8 and the official Java 8...
Read more >18.2 Installation error
I tried to install on a usb drive and it refused to continue past partitioning. Error: bad alignment of root partition that could...
Read more >Mint 18.2 wont install, need help
I want to install linux mint. I have a lenovo think pad with a clean HDD (I erased it several times during the...
Read more >Can't install Linux Mint 18.2 Sonya
I've trying everything to make my installation work. I have this problem : "grub-efi-amd64-signed package failed to install". I have Windows 10 ...
Read more >Mint 18.2 installation problem
Hello,i tried to install mint 18.2(had problems with 18 and 18.1) from a usb drive,but the installer crashes(screenshot with the message i ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, @leecow for the sharper eyes. @joel-g I’ve confirmed that using the Xenial feed @leecow linked to has no dependency issue.
To correct:
And then follow the instructions again at https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-current.
Closing this issue as resolved. Please reactivate if you’re still unable to install the SDK. Cheers!
If you want to set up a Xenial system them you should use the Xenial feed, not the Bionic feed. See https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-current for config steps.