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

ghcr.io/devcontainers/features/common-utils:2 doesn't work on Ubuntu 24.04 #1265

Open
tyrannosaurus-becks opened this issue Feb 5, 2025 · 1 comment
Assignees

Comments

@tyrannosaurus-becks
Copy link

We have just updated our base dev container image to Ubuntu 24.04. When we try to install common utils, we receive the following output:

   > [linux/amd64 dev_containers_target_stage  6/10] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=common-utils_2,target=/tmp/build-features-src/common-utils_2     cp -ar /tmp/build-features-src/common-utils_2 /tmp/dev-container-features  && chmod -R 0755 /tmp/dev-container-features/common-utils_2  && cd /tmp/dev-container-features/common-utils_2  && chmod +x ./devcontainer-features-install.sh  && ./devcontainer-features-install.sh  && rm -rf /tmp/dev-container-features/common-utils_2:
  8.746 Some packages could not be installed. This may mean that you have
  8.746 requested an impossible situation or if you are using the unstable
  8.746 distribution that some required packages have not yet been created
  8.746 or been moved out of Incoming.
  8.746 The following information may help to resolve the situation:
  8.746 
  8.746 The following packages have unmet dependencies:
  8.838  libgcc1 : Depends: gcc-10-base (= 10.5.0-1ubuntu1~20.04) but 10.5.0-4ubuntu2 is to be installed
  8.848 E: Unable to correct problems, you have held broken packages.
  8.848 ERROR: Feature "Common Utilities" (ghcr.io/devcontainers/features/common-utils) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/common-utils for help troubleshooting this error.
@Kaniska244
Copy link

Kaniska244 commented Feb 11, 2025

Hi @tyrannosaurus-becks ,

Thanks for opening the issue. The common-utils feature should normally work fine in ubuntu-24.04 & the libgcc1 installation will be skipped because higher version libgcc-s1 is already available with the latest version(14.2.0-4ubuntu2~24.04) which is creating problem in your scenario.

Would you kindly share the your devcontainer.json & Dockerfile/ Docker compose file to check this further. I would like to see if there's possibly any other customization which could be causing this issue.

With Regards,
Kaniska Sengupta

@Kaniska244 Kaniska244 self-assigned this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants