core icon indicating copy to clipboard operation
core copied to clipboard

Could not install .NET Core SDK on Ubuntu 18.04 (x64)

Open w4ssimh opened this issue 7 years ago • 2 comments

Problem encountered on https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current Operating System: Linux Ubuntu 18.04 - x64

Hi, I'm using a Ubuntu 18.04 (x64) on a virtual machine (VM VirtualBox), connected to internet of the company I work for. I fellow the instructions here: https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current But I still cannot install NET Core SDK After running the last command : sudo apt-get install dotnet-sdk-2.2 Here is the message printed on the console: **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.2 : Depends: aspnetcore-runtime-2.2 (>= 2.2.6) but it is not going to be installed Depends: dotnet-runtime-2.2 (>= 2.2.6) but it is not going to be installed E: Unable to correct problems, you have held broken packages.**

w4ssimh avatar Sep 04 '19 11:09 w4ssimh

This is usually caused by a missing system dependency. Running apt-get install dotnet-runtime-deps-2.2 will tell you what the problem is. Install whatever that is, then you should be good to install the SDK.

leecow avatar Sep 05 '19 00:09 leecow

Closing due to issue going stale. Please re-open if you're still having troubles.

leecow avatar Sep 16 '19 12:09 leecow