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

check-gpg: false for debootstrap stage still looks for InRelease, fails debootstrap #498

Open
abotelho-cbn opened this issue May 16, 2024 · 0 comments

Comments

@abotelho-cbn
Copy link

abotelho-cbn commented May 16, 2024

The block in the recipe:

  - action: debootstrap
    suite: {{ $suite }}
    components:
      - main
      - contrib
      - non-free
      - non-free-firmware
    mirror: {{ $debian_mirror }}
    variant: minbase
    check-gpg: false

Output and error:

2024/05/16 17:53:17 ==== debootstrap ====
2024/05/16 17:53:18 Debootstrap | I: Target architecture can be executed
2024/05/16 17:53:18 Debootstrap | I: Retrieving InRelease 
2024/05/16 17:53:19 Debootstrap | I: Retrieving Release 
2024/05/16 17:53:20 Debootstrap | I: Retrieving Packages 
2024/05/16 17:53:20 Debootstrap | I: Validating Packages 
2024/05/16 17:53:20 Debootstrap | I: Retrieving Packages 
2024/05/16 17:53:21 Debootstrap | I: Validating Packages 
2024/05/16 17:53:21 Debootstrap | I: Retrieving Packages 
2024/05/16 17:53:22 Debootstrap | I: Validating Packages 
2024/05/16 17:53:22 Debootstrap | I: Retrieving Packages 
2024/05/16 17:53:22 Debootstrap | I: Validating Packages 
2024/05/16 17:53:23 Debootstrap | I: Resolving dependencies of required packages...
2024/05/16 17:53:31 Debootstrap | I: Resolving dependencies of base packages...
2024/05/16 17:53:39 Debootstrap | I: Checking component contrib on https://debmirror.example.com/pulp/content/deb-bookworm...
2024/05/16 17:53:39 Debootstrap | I: Checking component main on https://debmirror.example.com/pulp/content/deb-bookworm...
2024/05/16 17:53:40 Debootstrap | I: Checking component non-free on https://debmirror.example.com/pulp/content/deb-bookworm...
2024/05/16 17:53:40 Debootstrap | I: Checking component non-free-firmware on https://debmirror.example.com/pulp/content/deb-bookworm...
2024/05/16 17:53:40 Debootstrap | E: Couldn't find these debs: usr-is-merged ca-certificates
2024/05/16 17:53:41 debootstrap.log | amd64: ok
2024/05/16 17:53:41 debootstrap.log | https://debmirror.example.com/pulp/content/deb-bookworm/dists/bookworm/InRelease:
2024/05/16 17:53:41 debootstrap.log | 2024-05-16 17:53:19 ERROR 404: Not Found.
2024/05/16 17:53:41 debootstrap.log | 2024-05-16 17:53:19 URL:https://debmirror.example.com/pulp/content/deb-bookworm/dists/bookworm/Release [11380/11380] -> "/scratch/root/var/lib/apt/lists/partial/debmirror.example.com_pulp_content_deb-bookworm_dists_bookworm_Release" [1]
2024/05/16 17:53:41 debootstrap.log | 2024-05-16 17:53:20 URL:https://debmirror.example.com/pulp/content/deb-bookworm/dists/bookworm/contrib/binary-amd64/Packages.gz [46980/46980] -> "/scratch/root/var/lib/apt/lists/partial/debmirror.example.com_pulp_content_deb-bookworm_dists_bookworm_contrib_binary-amd64_Packages.gz" [1]
2024/05/16 17:53:41 debootstrap.log | 2024-05-16 17:53:21 URL:https://debmirror.example.com/pulp/content/deb-bookworm/dists/bookworm/main/binary-amd64/Packages.gz [8201681/8201681] -> "/scratch/root/var/lib/apt/lists/partial/debmirror.example.com_pulp_content_deb-bookworm_dists_bookworm_main_binary-amd64_Packages.gz" [1]
2024/05/16 17:53:41 debootstrap.log | 2024-05-16 17:53:22 URL:https://debmirror.example.com/pulp/content/deb-bookworm/dists/bookworm/non-free/binary-amd64/Packages.gz [110212/110212] -> "/scratch/root/var/lib/apt/lists/partial/debmirror.example.com_pulp_content_deb-bookworm_dists_bookworm_non-free_binary-amd64_Packages.gz" [1]
2024/05/16 17:53:41 debootstrap.log | 2024-05-16 17:53:22 URL:https://debmirror.example.com/pulp/content/deb-bookworm/dists/bookworm/non-free-firmware/binary-amd64/Packages.gz [1578/1578] -> "/scratch/root/var/lib/apt/lists/partial/debmirror.example.com_pulp_content_deb-bookworm_dists_bookworm_non-free-firmware_binary-amd64_Packages.gz" [1]
2024/05/16 17:53:41 Action `debootstrap` failed at stage Run, error: exit status 1

Is it possible to configure the underlying debootstrap to properly ignore a missing InRelease? This is an internal Pulp mirror of upstream Debian.

Cheers

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

1 participant