Skip to content

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

Open
@rrebollo

Description

@rrebollo

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions