Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuget is not available on Ubuntu 24.04 #10631

Closed
2 of 13 tasks
ThibaultLesuisse opened this issue Sep 17, 2024 · 6 comments
Closed
2 of 13 tasks

Nuget is not available on Ubuntu 24.04 #10631

ThibaultLesuisse opened this issue Sep 17, 2024 · 6 comments

Comments

@ThibaultLesuisse
Copy link

ThibaultLesuisse commented Sep 17, 2024

Description

Currently Ubuntu is not present in the 24.04 Ubuntu deb repo's. Is there an alternative like using the 22.04 repo's?

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Custom image build

Is it regression?

Yes

Expected behavior

Nuget to be present

Actual behavior

Nuget is not present on ubuntu 24.04:

azure-arm.build_image: E: Package 'nuget' has no installation candidate

Repro steps

  1. Run the 24.04 packr install script.
  2. Investigate the build output
@kishorekumar-anchala
Copy link
Contributor

Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

@Prabhatkumar59
Copy link

Prabhatkumar59 commented Sep 20, 2024

Hi @ThibaultLesuisse- For the above issue, I am providing you workaround step:-

You can use the 22.04 Repository (Workaround)
If you still prefer to use the Ubuntu repositories, you can temporarily use the 22.04 repositories.

  • You can try adding the 22.04 repository to your sources list:
    sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu jammy main universe" > /etc/apt/sources.list.d/jammy.list'

  • Also you can once try to Update and install NuGet by using below command.

sudo apt-get update
sudo apt-get install nuget

Please Let me know if you need further assistance after trying above steps!

@ThibaultLesuisse
Copy link
Author

Won't this add 22.04 packages? This could have some consequences right?

@Prabhatkumar59
Copy link

Hi @ThibaultLesuisse - we will check on this and will update you shortly. Thanks!

@Prabhatkumar59
Copy link

Prabhatkumar59 commented Sep 26, 2024

Hi @ThibaultLesuisse - You can use ubuntu 22.04 as a workaround and log/create a 'feature request' to add Nuget to ubuntu 24.04 image.

@Prabhatkumar59
Copy link

Hi @ThibaultLesuisse - You can create a 'feature request' to add Nuget to ubuntu 24.04 image.
Since we haven't heard back, we will close this issue for now. Feel free to reach out to
us for any other queries. Thanks.


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

No branches or pull requests

3 participants