When trying to install .NET Core on Ubuntu as described here, with following command:
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
you might get following error:
Failed to fetch https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod/dists/xenial/InRelease
To workaround this issue register feed through HTTP instead of HTTS:
sudo sh -c 'echo "deb [arch=amd64] http://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
Posted
Oct 09 2017, 07:33 AM
by
Damir Dobric