runtime: Can't install .Net Core 2.0.2 in Ubuntu 17.10

Using the .NET Core installation instructions: https://www.microsoft.com/net/learn/get-started/linuxubuntu

Steps to reproduce

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'

sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.2

Expected behavior

To complete successfully.

Actual behavior

maxt@mars:~$ sudo apt-get install dotnet-sdk-2.0.2
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.0.2 : Depends: dotnet-runtime-2.0.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
maxt@mars:~$ 

Environment data

This is clean installation with no prior .NET Core files.

maxt@mars:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu 17.10"
maxt@mars:~$ 

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 43

Most upvoted comments