docs icon indicating copy to clipboard operation
docs copied to clipboard

.NET Core 2.2 on Ubuntu 18.04

Open evermeire opened this issue 7 years ago • 7 comments

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


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

evermeire avatar Dec 13 '18 18:12 evermeire

@leecow @vivmishra can you take a look at this issue? Where should we move this too?

mairaw avatar Dec 13 '18 19:12 mairaw

Just tested fine with a clean 18.04 Docker image.

@evermeire - The repo registration information will be hiding in /etc/apt/sources.list.d. If you performed the repo registration steps detailed at https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current then you should find a microsoft-prod.list file that has a single line: deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main.

leecow avatar Dec 13 '18 19:12 leecow

In the /etc/apt/sources.list.d I had the following two files:

  • microsoft-prod.list.distUpgrade
  • microsoft-prod.list.save

The both contain the line: deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main

I created a third file with the following: sudo cp microsoft-prod.list.save microsoft-prod.list

Still the same issue when attempting to install 2.2.

I had a co-worker who is running Ubuntu 18.04 after upgrading from Ubuntu 16.10 and he has no problems installing. I have another co-worker who installed 18.04 clean a few months ago and has the same issue I have.

evermeire avatar Dec 13 '18 21:12 evermeire

NOTE: Attempting to install 2.1 works fine.

$ sudo apt-get install dotnet-sdk-2.1 Reading package lists... Done Building dependency tree
Reading state information... Done dotnet-sdk-2.1 is already the newest version (2.1.500-1). 0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.

it is only 2.2

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

evermeire avatar Dec 13 '18 21:12 evermeire

My machine runs Ubuntu 18.04 and I cannot install .net core SDK 2.2. It is only 2.1 which is available. I followed https://dotnet.microsoft.com/download/linux-package-manager/rhel/sdk-2.2.101 and I've selected Ubuntu 18.04.

radu99999 avatar Dec 20 '18 07:12 radu99999

@leecow @richlander should I move this issue to https://github.com/dotnet/core/?

mairaw avatar Dec 20 '18 08:12 mairaw

This is issue is stale. I'm going to close it unless there is still a problem. Feel free to reopen.

Thraka avatar Jul 25 '19 19:07 Thraka