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

[doodba:10.0-onbuild] invoke img-build fails due to missing Debian Jessie package sources #517

Open
rrebollo opened this issue Feb 6, 2025 · 0 comments · May be fixed by #518
Open

[doodba:10.0-onbuild] invoke img-build fails due to missing Debian Jessie package sources #517

rrebollo opened this issue Feb 6, 2025 · 0 comments · May be fixed by #518
Labels
bug Something isn't working

Comments

@rrebollo
Copy link

rrebollo commented Feb 6, 2025

Describe the bug

When running invoke img-build, the build process fails due to missing package sources for Debian Jessie. The error trace shows multiple 404 Not Found errors when trying to fetch packages from http://security.debian.org and http://deb.debian.org, which are no longer available. This causes the build script to terminate with a CalledProcessError.

To Reproduce

Affected versions:
doodba:10.0-onbuild
From #503 I'm guessing also these which are based on jessie ¿don't?:
doodba:9.0-onbuild
doodba:8.0-onbuild

Steps to reproduce the behavior, in a doodba-copier-template 10.0 fresh project:

  1. Run invoke img-build
  2. Observe package retrieval errors from Debian Jessie repositories
  3. Build process fails with subprocess.CalledProcessError: Command '/opt/odoo/common/build.d/250-postgres-client' returned non-zero exit status 100

Expected behavior

The build process should complete successfully without failing due to missing package sources.

Additional context

  • Debian Jessie repositories have been moved to an archive and are no longer available at standard URLs.
  • The issue occurs because the build process relies on these outdated sources.
  • Potential solutions may include updating the base image or modifying repository URLs.
  • I'm planning to raise a PR to fix this using build.d mechanism (this is why I raised the issue here)
@rrebollo rrebollo added the bug Something isn't working label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant