2017-10-28 165 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 

一切工作