Linux对我来说是全新的。我正在尝试在ubuntu 14.05中安装.Net Core。
我尝试按照命令安装ubuntu
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net
/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d
/dotnetdev.list'
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys
417A0893
sudo apt-get update
当我在命令下运行时出现错误
,这些命令成功运行sudo apt-get install dotnet-dev-1.0.0-preview2-003131
我的错误是
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-dev-1.0.0-preview1-002702
E: Couldn't find any package by regex 'dotnet-dev-1.0.0-preview1-002702
答案 0 :(得分:1)
我遇到了同样的问题。看起来.NET Core不支持32位Ubuntu。我改为64位Ubuntu,问题解决了。