sdk: Install on Linode Ubuntu 16.04 fails

Steps to reproduce

Normal install steps

Expected behavior

Should install?

Actual behavior

Fails

Environment data

dave@planetfall:~$ uname -a
Linux planetfall 4.15.13-x86_64-linode106 dotnet/sdk#4283 SMP Tue Mar 27 14:42:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
dave@planetfall:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
dave@planetfall:~$ sudo apt-get install dotnet-sdk-2.1.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-sdk-2.1.4
E: Couldn't find any package by glob 'dotnet-sdk-2.1.4'
E: Couldn't find any package by regex 'dotnet-sdk-2.1.4'
dave@planetfall:~$ sudo apt search dotnet-sdk-2.1.4
Sorting... Done
Full Text Search... Done
dotnet-sdk-2.1.4/xenial,xenial 2.1.4-1 amd64
  Microsoft .NET Core SDK - 2.1.4

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

It’s in my second post, but also below (can’t find the downloaded package, even though it’s there:

Unless this is a platform mismatch?

$ sudo apt-get install dotnet-sdk-2.1 Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package dotnet-sdk-2.1 E: Couldn’t find any package by glob ‘dotnet-sdk-2.1’ E: Couldn’t find any package by regex ‘dotnet-sdk-2.1’

There was quite a bit of clean up happening last week on https://packages.microsoft.com. Could you sudo apt-get update first to make sure you have the latest package metadata then run sudo apt-get install dotnet-sdk-2.1?

I just tried on a couple 16.04 machines and things seem to be behaving themselves.