Skip to content

Unable to install .NET 5 on Ubuntu ARM64 18.04.4 LTS #21503

Closed

Description

@clarkezone

I'm on this version of Linux on a surface pro x:

james@Clarkezone-ProX:~/src$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
james@Clarkezone-ProX:~/src$ uname -m
aarch64

These instructions are failing with Unable to locate package dotnet-sdk-5.0:

james@Clarkezone-ProX:~/src$ sudo apt-get update; \
>   sudo apt-get install -y apt-transport-https && \
>   sudo apt-get update && \
>   sudo apt-get install -y dotnet-sdk-5.0
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:3 https://packages.microsoft.com/repos/azure-cli bionic InRelease
Hit:4 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Ign:6 https://storage.googleapis.com/download.dartlang.org/linux/debian stable InRelease
Hit:7 https://packages.cloud.google.com/apt cloud-sdk InRelease
Hit:8 https://storage.googleapis.com/download.dartlang.org/linux/debian stable Release
Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:2 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Hit:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:11 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.6.12ubuntu0.1).
The following package was automatically installed and is no longer required:
  aufs-tools
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease
Ign:2 https://storage.googleapis.com/download.dartlang.org/linux/debian stable InRelease
Hit:4 https://packages.microsoft.com/repos/azure-cli bionic InRelease
Hit:5 https://storage.googleapis.com/download.dartlang.org/linux/debian stable Release
Hit:6 https://packages.cloud.google.com/apt cloud-sdk InRelease
Hit:7 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:8 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:3 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Hit:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:12 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-sdk-5.0
E: Couldn't find any package by glob 'dotnet-sdk-5.0'
E: Couldn't find any package by regex 'dotnet-sdk-5.0'

Document Details

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

Activity

  1. adegeo commented on Nov 11, 2020

    @adegeo
    Contributor

    Hello. The article states the following:

    Package manager installs are only supported on the x64 architecture. Other architectures, such as ARM, must manually install the .NET Core SDK or .NET Core Runtime. For more information, see the manually install section.

    I'll look at how to promote that note so it's more visible. You're not the first to report this error 😄 Snap makes it easy to do a manual install too.

  2. jamsoft commented on May 5, 2021

    @jamsoft

    I've just crashed hard into this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions