dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.85k stars 4.62k forks source link

DigitialOcean Ubuntu install failed : not found #6301

Closed NVentimiglia closed 4 years ago

NVentimiglia commented 8 years ago

I am trying to install a very minimal .net core asp.net installation on a digital ocean droplet. This is meant to be a proof of concept so that I can show off that dotnetcore works.

I am following the instructions here

https://www.microsoft.com/net/core#windows

and here

https://docs.asp.net/en/1.0.0-rc1/getting-started/installing-on-linux.html#using-docker

Ive tried installing Ubuntu 14 and 16, both instances fail at the same point. That is after this command.

sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" 
> /etc/apt/sources.list.d/dotnetdev.list'

Afterwords I see this response

sh: 2: /ect/apt/sources.list.d/dotnetdev.list: not found

What does that mean ? Are the steps wrong ? Is this something specific to digital ocean ?

NVentimiglia commented 8 years ago

The issue was I was writing the single command split onto two lines. If I replace the > with a space, it worked fine.