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

[Bug]: Error installing some debian packages. #15283

Open
1 task done
KevinMind opened this issue Jan 14, 2025 · 0 comments
Open
1 task done

[Bug]: Error installing some debian packages. #15283

KevinMind opened this issue Jan 14, 2025 · 0 comments
Labels
needs:info repository:addons-server Issue relating to addons-server

Comments

@KevinMind
Copy link
Contributor

KevinMind commented Jan 14, 2025

What happened?

40.63 Errors were encountered while processing:
40.63  /tmp/apt-dpkg-install-sKgA5q/018-libgprofng0_2.40-2_amd64.deb
40.67 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
Dockerfile:61
--------------------
  60 |     
  61 | >>> RUN --mount=type=bind,source=docker/debian_packages.txt,target=/debian_packages.txt \
  62 | >>> <<EOF
  63 | >>> # Allow scripts to detect we are running in our own container
  64 | >>> touch /addons-server-docker-container
  65 | >>> # install packages.
  66 | >>> apt-get update
  67 | >>> grep -v '^#' /debian_packages.txt | xargs apt-get -y install
  68 | >>> rm -rf /var/lib/apt/lists/*
  69 | >>> EOF
  70 |     
--------------------
ERROR: failed to solve: process "/bin/bash -xue -c # Allow scripts to detect we are running in our own container\ntouch /addons-server-docker-container\n# install packages.\napt-get update\ngrep -v '^#' /debian_packages.txt | xargs apt-get -y install\nrm -rf /var/lib/apt/lists/*\n" did not complete successfully: exit code: 123

The install script for debian packages sometimes fails on "dpkg".. we should have better retry, error handling of these intermittent failures.

What did you expect to happen?

This script should pass and ideally recover from errors with retry mechanisms as most of the time just running the build again works.

Is there an existing issue for this?

  • I have searched the existing issues

┆Issue is synchronized with this Jira Task

@KevinMind KevinMind added needs:info repository:addons-server Issue relating to addons-server labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:info repository:addons-server Issue relating to addons-server
Projects
None yet
Development

No branches or pull requests

1 participant