-
Notifications
You must be signed in to change notification settings - Fork 386
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
dotnet 6 feature fails to install #473
Comments
Hi 👋 Interesting, I tried to create a dev container and it was successful with your dev config. Also, https://github.com/devcontainers/features/actions/runs/4328127322/jobs/7557499717 which runs test for @markphip Wondering, what's your dev container CLI extension version? Also, are you trying locally or in a Codespace? |
The log came from opening a Codespace (no prebuild) I sporadically have had tests fail for features building on Ubuntu and never really looked closely since I was testing a bunch of different images. I wonder if the upstream apt repository is inconsistent? I thought dotnet was supposed to be in the Ubuntu upstream now? I wonder why it did not find the package? Maybe only dotnet 7 packages are available? I will pay closer attention if I run into this myself again in the future. |
I'm hitting this too, on a local devcontainer; [email protected] There was this issue, but the issue still persists, and here the proper package isn't being found at all (since it's not grabbing the That said, there are interesting instructions for registering the microsoft repo now, which might make things simpler. I've had conflicts on various recent debian releases because apt is complaining about duplicate keys; some of the features here (or in the community repo) place them in |
Hi @Clockwork-Muse 👋 Can you paste your logs, I'd like to see what might be wrong because I am able to install .NET fine.
We do prioritize installing from Microsoft's apt if the OS allows, see here. I wonder if that's causing an issue for you, logs would be helpful in this case. |
@samruddhikhandale - Sorry I wasn't able to get to this before now. Unfortunately, I've just re-run, and couldn't repro, and I've forgotten what other differences I may have had. I'll keep an eye out, though. |
No worries, feel free to reopen the issue if needed. |
Have a devcontainer.json like this:
It fails to install dotnet sdk. Here is creation.log
In this case we can switch to the dotnet:6 base image but thought I would report the problem regardless
The text was updated successfully, but these errors were encountered: