Skip to content

Please provide packages for Ubuntu 20.04 #4360

Closed

Description

@murbanowicz

Hi,
I am not sure this issue should be created here, but I hope it's the right place. If not, please move it to an appropriate place.

Could you please provide packages for Ubuntu 20.04?
Packages for 19.10 working to some degree, but e.g. I cannot get 3.1.2 update, I am stuck on 3.1.1 (not to say it's critical or so, but would be nice to upgrade).

Activity

  1. scalablecory commented on Mar 6, 2020

    @scalablecory
    Contributor
  2. leecow commented on Mar 6, 2020

    @leecow
    Member

    @murbanowicz, what are you seeing when trying to 3.1.2 from the 19.10 repo?

    20.04 will not be officially released until 4/23 and we typically have the repo established and populated with the .NET Core release which immediately follows but I think we can have this set up for 20.04 release day.

    @rbhanda - please work with the AzLinux folks to get 20.04 on-boarded to packages.microsoft.com.

    /cc @nakarnam

  3. baskmau commented on Mar 8, 2020

    @baskmau

    @leecow

    The following packages have unmet dependencies:
    dotnet-runtime-deps-3.1 : Depends: libicu but it is not installable or
    libicu63 but it is not installable or
    libicu60 but it is not installable or
    libicu57 but it is not installable or
    libicu55 but it is not installable or
    libicu52 but it is not installable
    E: Unable to correct problems, you have held broken packages.

    20.04 has libicu65. It would be nice to have preview packages earlier.

  4. phillip-haydon commented on Mar 9, 2020

    @phillip-haydon

    I tried to setup 20.04 too, basically /everything/ works, except .net core... :( was hoping to play around with .net core on Ubuntu 20.04 but I guess I'll need to wait until release day.

  5. dagood commented on Mar 9, 2020

    @dagood
    Member

    You have a few options in the meantime:

  6. baskmau commented on Mar 11, 2020

    @baskmau

    @dagood - thank you very much!!!

  7. markusschaber commented on Mar 19, 2020

    @markusschaber

    Just for information: Ubuntu 20.04 will be released April 23rd, and is the next LTS version, so it will be supported for 5 years.

  8. yokovaski commented on Apr 23, 2020

    @yokovaski

    Any news on this?

  9. leecow commented on Apr 23, 2020

    @leecow
    Member

    @NikolaMilosavljevic for an update

  10. NikolaMilosavljevic commented on Apr 23, 2020

    @NikolaMilosavljevic
    Contributor

    All PRs were completed a month ago. There are upcoming servicing releases for 2.1 and 3.1 and 5.0 preview.

    5.0: dotnet/runtime#34079
    3.1: dotnet/core-setup#9015
    2.1: dotnet/core-setup#9016

    All these changes added support for libicu65 and libicu66.

  11. wshaddix commented on Apr 23, 2020

    @wshaddix

    When I run the following i get the error that the dotnet-sdk-3.1 package is not found. Am I doing something wrong? Running pop_os 20.04 (based on ubuntu 20.04)

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1
    

    gives the error

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package dotnet-sdk-3.1
    E: Couldn't find any package by glob 'dotnet-sdk-3.1'
    E: Couldn't find any package by regex 'dotnet-sdk-3.1'
    
    
  12. Fredrik81 commented on Apr 23, 2020

    @Fredrik81

    When I run the following i get the error that the dotnet-sdk-3.1 package is not found. Am I doing something wrong? Running pop_os 20.04 (based on ubuntu 20.04)

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1
    

    gives the error

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package dotnet-sdk-3.1
    E: Couldn't find any package by glob 'dotnet-sdk-3.1'
    E: Couldn't find any package by regex 'dotnet-sdk-3.1'
    

    There are no dotnet packages yet for 20.04 in the repository.

  13. wshaddix commented on Apr 23, 2020

    @wshaddix

    When I run the following i get the error that the dotnet-sdk-3.1 package is not found. Am I doing something wrong? Running pop_os 20.04 (based on ubuntu 20.04)

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1
    

    gives the error

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package dotnet-sdk-3.1
    E: Couldn't find any package by glob 'dotnet-sdk-3.1'
    E: Couldn't find any package by regex 'dotnet-sdk-3.1'
    

    There are no dotnet packages yet for 20.04 in the repository.

    Is there an ETA on the packages being put in the repository?

  14. rodrigoreis commented on Apr 24, 2020

    @rodrigoreis

    Please provide this packages.

  15. phillip-haydon commented on Apr 24, 2020

    @phillip-haydon
  16. 65 remaining items

  17. dagood commented on May 27, 2020

    @dagood
    Member

    @mikevanl Please open a new issue with what you've tried and all command output, especially apt update. It's closed because the repository and packages are available for Ubuntu 20.04. But it can be tricky to set up the repository correctly and we'd be happy to help.

  18. Eptagone commented on May 29, 2020

    @Eptagone

    Try to add ":amd64" to the end of dotnet's package names.
    Like this:
    sudo apt install dotnet-sdk-3.1:amd64

  19. Pablofr10 commented on Jun 15, 2020

    @Pablofr10

    I used this method and worked for me.

    wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo add-apt-repository universe
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1 (chose the version)

  20. yelsnitrk commented on Jul 2, 2020

    @yelsnitrk

    I have this same error. I am using ubuntu on ARM32. any suggestions?

  21. dagood commented on Jul 3, 2020

    @dagood
    Member

    I have this same error. I am using ubuntu on ARM32. any suggestions?

    @yelsnitrk you need to follow these instructions:

    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 below.

    https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#manual-install

  22. yelsnitrk commented on Jul 3, 2020

    @yelsnitrk

    Thanks. I downloaded the binary that I want to my /home/user directory. What next?

  23. dagood commented on Jul 3, 2020

    @dagood
    Member

    @yelsnitrk you should be able to get it to work by continuing along with the instructions. Please feel free to open a new issue if some of the steps don't make sense or aren't working for you.

  24. default-writer commented on Aug 1, 2020

    @default-writer

    When I run the following i get the error that the dotnet-sdk-3.1 package is not found. Am I doing something wrong? Running pop_os 20.04 (based on ubuntu 20.04)

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1
    

    gives the error

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package dotnet-sdk-3.1
    E: Couldn't find any package by glob 'dotnet-sdk-3.1'
    E: Couldn't find any package by regex 'dotnet-sdk-3.1'
    
    #!/usr/bin/env bash
    set -e
    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update; \
      sudo apt-get install -y apt-transport-https && \
      sudo apt-get update && \
      sudo apt-get install -y dotnet-sdk-3.1
    sudo apt-get install -y dotnet-runtime-3.1
    rm -rf packages-microsoft-prod.deb
    
    
  25. Spongman commented on Aug 25, 2020

    @Spongman

    come on, arm64 .debs alredy.

  26. Dave3991 commented on Aug 27, 2020

    @Dave3991
  27. averyfreeman commented on Sep 19, 2020

    @averyfreeman

    I am in a similar situation, running dotnet-sdk 5.0.0-rc1 on Ubuntu 20.10 dev release which packages libicu67. Ubuntu 20.10 is going to be released next month so it didn't seem that crazy.

    I modified the installer script for all the issues I ran into and stuck it here: https://github.com/averyfreeman/dotnet-sdk-5.0rc1-Ubuntu-20.10-installer

  28. rogueco commented on Nov 15, 2020

    @rogueco

    I used this method and worked for me.

    wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo add-apt-repository universe
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1 (chose the version)

    This worked for me - Brilliant. Thanks.

  29. caiogasparino commented on Feb 25, 2021

    @caiogasparino

    @rogueco

    Thanks !!!

  30. iamsunny commented on Sep 16, 2022

    @iamsunny

    Installing via these steps worked great for me:

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install apt-transport-https
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1
    

    However, I first had to run the following. I guess I needed to clean up previous attempts.

    sudo dpkg --purge packages-microsoft-prod && sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    

    this worked for me.

    sudo dpkg --purge packages-microsoft-prod && sudo dpkg -i packages-microsoft-prod.deb
    sudo apt-get update
    sudo apt-get install dotnet-sdk-3.1

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

    area-setup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions