在 Ubuntu 18.04 上,我正在尝试从 dotnet 3.0 更新到 3.1。我已经多次通过这里描述的过程,但它似乎根本不起作用。我得到以下结果:
dave@NUC3:~$ sudo apt-get install dotnet-sdk-3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
dotnet-sdk-3.1 is already the newest version (3.1.201-1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
dave@NUC3:~$ dotnet --list-sdks
3.0.100-preview6-012264 [/home/dave/dotnet/sdk]
3.0.100-rc1-014190 [/home/dave/dotnet/sdk]
dave@NUC3:~$
3.1 版根本不会出现在 SDK 列表中。
我错过了什么?