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

Problem building on Ubuntu 22.04 #2135

Open
mering opened this issue Sep 12, 2023 · 1 comment
Open

Problem building on Ubuntu 22.04 #2135

mering opened this issue Sep 12, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mering
Copy link

mering commented Sep 12, 2023

Bug Report

Trying to install Oryx Devcontainer Feature (after removing the explicit check for jammy), results in the following failure:

MSBuild version 17.4.8+6918b863a for .NET                                                                                                                                                         
  Determining projects to restore...                                                                                                                                                              
  Restored /opt/tmp/oryx-repo/tests/BuildScriptGenerator.Tests/BuildScriptGenerator.Tests.csproj (in 2.32 sec).
  Restored /opt/tmp/oryx-repo/tests/BuildScriptGeneratorCli.Tests/BuildScriptGeneratorCli.Tests.csproj (in 2.32 sec).
  Restored /opt/tmp/oryx-repo/tests/Oryx.Common.Tests/Common.Tests.csproj (in 2.32 sec).
  Restored /opt/tmp/oryx-repo/tests/Detector.Tests/Detector.Tests.csproj (in 2.32 sec).
  Restored /opt/tmp/oryx-repo/tests/BuildServer.Tests/BuildServer.Tests.csproj (in 2.32 sec).
  Restored /opt/tmp/oryx-repo/tests/BuildScriptGenerator.Common.Tests/BuildScriptGenerator.Common.Tests.csproj (in 2.32 sec).                                                    
  Restored /opt/tmp/oryx-repo/tests/Oryx.RuntimeImage.Tests/Oryx.RuntimeImage.Tests.csproj (in 2.32 sec).
  Restored /opt/tmp/oryx-repo/tests/Oryx.Tests.Common/Oryx.Tests.Common.csproj (in 2.32 sec).                                                                                                     
  Restored /opt/tmp/oryx-repo/tests/Oryx.Integration.Tests/Oryx.Integration.Tests.csproj (in 2.32 sec).                                                     
  Restored /opt/tmp/oryx-repo/tests/AutomationTests/Automation.Tests.csproj (in 2.32 sec).                                                                                                        
  Restored /opt/tmp/oryx-repo/tests/Oryx.BuildImage.Tests/Oryx.BuildImage.Tests.csproj (in 2.32 sec).                                                                                             
  Restored /opt/tmp/oryx-repo/tests/BuildScriptGeneratorCli.Tests/BuildScriptGeneratorCli.Tests.csproj (in 2.73 sec).                                                                             
/opt/tmp/oryx-repo/src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.ubuntu.22.04-x64. No packages exist with this id in source(s): nuget.org [/opt/tmp/oryx-repo/Oryx.sln]
  Restored /opt/tmp/oryx-repo/src/Oryx.Common/Common.csproj (in 3.61 sec).
  Restored /opt/tmp/oryx-repo/src/BuildServer/BuildServer.csproj (in 3.61 sec).
  Restored /opt/tmp/oryx-repo/build/tools/SharedCodeGenerator/SharedCodeGenerator.csproj (in 3.61 sec).
  Restored /opt/tmp/oryx-repo/build/tools/Automation/Automation.csproj (in 3.61 sec).
  Restored /opt/tmp/oryx-repo/src/BuildScriptGenerator.Common/BuildScriptGenerator.Common.csproj (in 3.61 sec).
  Restored /opt/tmp/oryx-repo/src/Detector/Detector.csproj (in 3.62 sec).
  Restored /opt/tmp/oryx-repo/src/BuildScriptGenerator/BuildScriptGenerator.csproj (in 3.64 sec).
  Failed to restore /opt/tmp/oryx-repo/src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj (in 3.65 sec).

Build FAILED.

/opt/tmp/oryx-repo/src/BuildScriptGeneratorCli/BuildScriptGeneratorCli.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.ubuntu.22.04-x64. No packages exist with this id in source(s): nuget.org [/opt/tmp/oryx-repo/Oryx.sln]
    0 Warning(s)
    1 Error(s)

I am wondering why it is looking for Microsoft.NETCore.App.Host.ubuntu.22.04-x64 in the first place instead of Microsoft.NETCore.App.Host.linux-x64. Can anyone help us on how to make Oryx feature compatible with Ubuntu 22.04?

@simonjj
Copy link

simonjj commented Jan 12, 2024

We don't support Jammy at this point. Marking this as an enhancement.

@simonjj simonjj added the enhancement New feature or request label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants