2017-10-28 128 views
3

我跟着从microsoft .net core linux ubuntu 所有步骤,每个步骤是确定,直到:无法Ubuntu上安装.NET核心17.10

sudo apt-get install dotnet-sdk-2.0.0 
在此步骤

我收到错误:

Couldn't find any package by glob 'dotnet-sdk-2.0.0' 

我相信我在做好事之前做了一切事情。 在

sudo apt-get update 

我看到它是微软阅读:

Stary:1 http://pl.archive.ubuntu.com/ubuntu artful InRelease 
Stary:2 http://pl.archive.ubuntu.com/ubuntu artful-updates InRelease 
Pobieranie:3 http://security.ubuntu.com/ubuntu artful-security InRelease [70,3 kB] 
Stary:4 http://pl.archive.ubuntu.com/ubuntu artful-backports InRelease 
Stary:5 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful InRelease 

谁能帮助我?

回答

4

尽管在微软网站上他们写道,你应该安装2.0.0版本,正确的是2.0.2。 所以当我用:

sudo apt-get install dotnet-sdk-2.0.2 

一切工作