Runtime: [Ubuntu 18.04] Required dependencies/libs for .NET Core Runtime installations

Created on 27 Mar 2018  路  11Comments  路  Source: dotnet/runtime

Based on this
https://www.microsoft.com/net/download/linux-package-manager/ubuntu17-10/runtime-current
I am trying to install .NET Core Runtime and SDK. Registering key and feed - fine.

Steps to reproduce

.NET Core SDK requires dotnet-runtime-2.0.6 - that's ok. But .NET Core Runtime 2.0.6. requires

````

  • libcurl3 but it can not be installed
    ````
    (I install with apt-get install libcurl3)

````

  • libicu57 but it can not be installed
    ````
    (no installation candidate)

````

  • dotnet-hostfxr-2.0.6 but will not be installed
    Failure to fix problems, damaged packages stopped.
    ````

Tried
apt-get dotnet-hostfxr-2.0.6

but this requires
```
dotnet-runtime-deps-2.1.0-preview1-26216-03 (>= 2.1.0-preview1-26216-03) but will not be installed
````
etc.

How to fix that?

Environment data

NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

area-Setup

Most helpful comment

btw why this guideline is not here?

All 11 comments

Okay, I found this

````
Ubuntu 18.04

We do not have 18.04 product feeds available yet, there is an option for installing the .NET 2.1 Preview using the Linux binary tar.gz.
````

More: https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.1.0-preview1-download.md

In that case, is it possible to install dotnet runtime? Probably each version causes the same problem on Ubuntu 18.04.

@rakeshsinghranchi added support for .NET Core 2.1 in the master branch.

@leecow @Petermarcu - do we want/need to backport Ubuntu 18 support for .NET Core 2.0.x?

Yes, we'll port to 2.0 once the April Update is done and out of the way.

A temporary solution ( working for me ) is to use equivs to fake dotnet-runtime-deps-2.1.0-preview1-26216-03 package. This means you have to install dependencies one by one, instead of dotnet-runtime-deps do it for you.

Are there any updates on this?
18.04 is coming out in two days, and I've just migrated to it...

Would be great to apt-get dotnet-sdk-2.1.105 over here...

@damageboy I think we have to wait some time after official release 18.04

Same issue cannot install dotnet-sdk-2.1.105 on Ubuntu 18.04

dotnet-sdk-2.1.105 : Depends: dotnet-runtime-2.0.7 but it is not going to be installed

btw why this guideline is not here?

@atonamy the guideline works for me, thanks!

This has been fixed in newer versions of .NET Core, closing as a stale issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omariom picture omariom  路  3Comments

yahorsi picture yahorsi  路  3Comments

omajid picture omajid  路  3Comments

matty-hall picture matty-hall  路  3Comments

iCodeWebApps picture iCodeWebApps  路  3Comments