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

Open
2 of 13 tasks
ThibaultLesuisse opened this issue Sep 17, 2024 · 5 comments
Open
2 of 13 tasks

Nuget is not available on Ubuntu 24.04 #10631

ThibaultLesuisse opened this issue Sep 17, 2024 · 5 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- To address the issue where NuGet is not available in the Ubuntu 24.04 repository, here are a few possible solution which I am providing to you below:-

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.

A. Add 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'
B. Update and install NuGet.

sudo apt-get update
sudo apt-get install nuget

You can try using this. And Let me know if you need further assistance!

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

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