Hi, Quoting Cyril Brulebois (2020-03-09 06:47:49) > Johannes 'josch' Schauer <josch@debian.org> (2020-03-09): > > Package: debootstrap > > Version: 1.0.120 > > Severity: grave > > Justification: renders package unusable > > > > Hi, > > > > steps to reproduce: > > > > $ sudo debootstrap --variant=minbase stable debian-stable > > [...] > > $ echo $? > > 100 > > > > It works for unstable though. > > Thanks for filing the RC bug, I was just wondering whether to do that on > my own. See review just sent to debian-boot@: > [🔎] 20200309054441.2i32ierzl5b6kefw@mraw.org">https://lists.debian.org/[🔎] 20200309054441.2i32ierzl5b6kefw@mraw.org Thank you for that! I agree with your analysis. Here some further comments: > Finally, looking at CI, runtime indeed doesn't look too good: > [...] > from <https://ci.debian.net/data/autopkgtest/testing/amd64/u/unattended-upgrades/4504830/log.gz> That problem is easily fixed by fixing the sed call in enable_pockets() here: https://sources.debian.org/src/unattended-upgrades/1.17/debian/tests/common-functions/ More worrysome I found the problem of the autopkgtest failure of debuerreotype which fails because the release file is expired. There is nothing the debuerreotype autopkgtest can do about this other than patching /usr/sbin/debootstrap before running the test. I reported the problem here: https://bugs.debian.org/953617 My package mmdebstrap has a similar problem. During my autopkgtest I am setting up a mirror that does not include translations (because they are not needed for the tests so why download unnecessary data) and the "apt-get update" will fail because it cannot find the translations. Again there is no way to override this (the APT_CONFIG environment variable is ignored) and I resorted to running: $ sed -i 's/apt-get update/apt-get -o Acquire::Languages=none update/' /usr/sbin/debootstrap Before running debootstrap in mmdebstrap's autopkgtest. This is not optimal and should not be necessary. I filed a bug here: https://bugs.debian.org/953588 Furthermore it is no longer possible to create a Debian chroot from snapshot.debian.org because the "apt-get upgrade" call will always attempt installing current packages and thus pollute the snapshot with newer packages: https://bugs.debian.org/95359 And the --no-check-gpg and --keyring options do not work anymore because even if they are passed to debootstrap, they are not passed onwards to apt: https://bugs.debian.org/953593 Some of these problems can be solved by allowing to pass custom options to apt but the snapshot.debian.org usecase cannot be made working again without a new option that allows to disable running "apt-get upgrade" at the end. I think it is important to be able to create a chroot from snapshot.debian.org so I think the only way to achieve this is to either revert this change completely or to add a new option allowing to disable this "feature". Thanks! cheers, josch
Attachment:
signature.asc
Description: signature