-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Ubuntu 24.04: netcat is a virtual package #11028
Comments
O erro que você está vendo acontece porque o Ubuntu 24.04 não sabe qual versão do pacote netcat instalar, já que ele é um "pacote virtual", ou seja, depende de outras versões, como netcat-traditional ou netcat-openbsd. O gerenciador de pacotes precisa que você escolha uma delas. Como resolver:
Se você preferir o netcat-traditional, execute: Ou, se preferir o netcat-openbsd, execute:
Para instalar o netcat-traditional: Ou, para o netcat-openbsd: Resumo: |
Hi @GregoireW Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating |
@RaviAkshintala |
Hi @GregoireW, We successfully reproduced the netcat package in Ubuntu 24. Our builds are successful.
Kindly try building with the latest image version 20241124.1. If the issues persist, please provide us with the error logs or the build details. |
I'm not sure to understand what you mean. My issue is to create a runner image, not to install netcat manually from a github action. Today the template execute
Which apt-install tools from the toolset file runner-images/images/ubuntu/scripts/build/install-apt-common.sh Lines 10 to 16 in 5a26302
and the toolset file contains the package named runner-images/images/ubuntu/toolsets/toolset-2404.json Lines 146 to 161 in 5a26302
It means the setup will try to execute Let say you want to replace 'netstat' by 'netcat-openbsd' in the toolset file then the test file will fail as it will test for a runner-images/images/ubuntu/scripts/tests/Apt.Tests.ps1 Lines 4 to 21 in 5a26302
|
Hi @GregoireW, The |
But your screenshot shows exactly the problem. Lines 2494-2498 |
I "set -e" to prevent not noticed error to sneak to production. in your screenshot, you have the issue, but you don't stop at the error and continue. I'm not clear why it is ok as the folowing test should have broken your test. (netcat is not installed) |
Description
When I try to build a ubuntu 24.04 runner image from script in this repo, I got an issue with netcat:
not sure how to resolve this cleanly.
Platforms affected
Runner images affected
Image version and build link
24.04
Is it regression?
was succesful on 22.04
Expected behavior
toolset should install without error
Actual behavior
fail with
Repro steps
error is showing when
install-apt-common.sh
is executedThe text was updated successfully, but these errors were encountered: