无法根据 Microsoft 说明在 Ubuntu 16.04 上安装 .NET Core

无法根据 Microsoft 说明在 Ubuntu 16.04 上安装 .NET Core

按照命令这一页我收到这些错误:

sudo apt-get install dotnet-sdk-2.0.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dotnet-sdk-2.0.2 : Depends: aspnetcore-store-2.0.0 but it is not going to be installed
                    Depends: dotnet-runtime-2.0.0 but it is not going to be installed
 git-daemon-run : Depends: runit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我去做了“sudo apt-get“sudo apt-get install dotnet-runtime-2.0.0”,因为它说它需要它“但不会被安装”。

我再次收到关于“无法安装”的错误

sudo apt-get install dotnet-runtime-2.0.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dotnet-runtime-2.0.0 : Depends: liblttng-ust0 (>= 2.5.0) but it is not going to be installed
                        Depends: dotnet-hostfxr-2.0.0 but it is not going to be installed
 git-daemon-run : Depends: runit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

好像有什么地方不对劲或者我做错了什么,但我不知道是什么。

相关内容