Skip to content

dotnet-sdk-2.1 not found on WSL Ubuntu 18.04.1 #9871

@falfiya

Description

@falfiya

Steps to reproduce

Enable WSL
Install Ubuntu (for windows)
Open bash somehow
Run

wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

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

Expected behavior

The dotnet cli installs

Actual behavior

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'

Picture of output:
image
I've seen several other similar issues but their fixes didn't seem to work for me.
I looked at this issue but following these instructions didn't work
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions