question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install dotnet sdk on Ubuntu 16.04 xenial from repo feed

See original GitHub issue

I’m trying to install dotnet sdk on a fresh install of Ubuntu 16.04 based OS following the steps on (https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-current) but it’s fail on apt-get update

As described on ‘actual behavior’ it seems the repo is down as we can see through the link below (https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod/dists/xenial/main/binary-amd64/)

O another hand Artful is ok (https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod/dists/artful/main/binary-amd64/)

maybe the feed URL has changed?

Steps to reproduce

On a Ubuntu 16.04 based distro follow the instructions at https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-current

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg 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'

sudo apt-get install apt-transport-https sudo apt-get update sudo apt-get install dotnet-sdk-2.1.105

Expected behavior

.NET SDK 2.1.105 installation with success

Actual behavior

Fail to run sudo apt-get update

W: The repository ‘https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial Release’ does not have a Release file. N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod/dists/xenial/main/binary-amd64/Packages 404 Not Found

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
willnsscommented, May 1, 2018

Everything is ok Up and running again. Thank you guys!

1reaction
leecowcommented, May 1, 2018

There’s an ongoing outage in the service which is being worked on. Repo is partly up now and the rest should follow shortly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install .NET SDK or .NET Runtime on Ubuntu 16.04
This article discusses how to install .NET on Ubuntu 16.04; Only .NET 6 is supported. Install the SDK (which includes the runtime) if...
Read more >
How to install dotnet SDK on Ubuntu 16.04 LTS
Try running this command on your terminal: wget -q packages-microsoft-prod.deb ...
Read more >
Unable to install .NET Core on Ubuntu 16.04 based ...
Unable to install .NET Core on Ubuntu 16.04 based on Microsoft Instructions · 1. Please run sudo apt-get install -f , then sudo...
Read more >
Cannot install .NET Core on Ubuntu Bionic Beaver
Then sudo apt=get install dotnet-sdk-2.x ... register the Microsoft key, register the product repository, and install required dependencies.
Read more >
Setting up an Ubuntu environment
sudo apt-get -f install. To run it from terminal use google-chrome or google-chrome --incognito . I usually run it with.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found