mmdebstrap fails when identifying suite by codename #21

Closed
opened 2 years ago by tachi · 8 comments
tachi commented 2 years ago

Hi, I'm trying to build a cowbuilder image using mmdebstrap as the debootrap program, but creation fails with an "Undefine subroutine" error. Here's the log:

$ doas cowbuilder create --debootstrap=mmdebstrap
I: Invoking pbuilder
I: forking: pbuilder create --debootstrap mmdebstrap --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: Distribution is sid.
I: Current time: Thu Dec 30 13:31:14 CET 2021
I: pbuilder-time-stamp: 1640867474
I: Building the build environment
I: running mmdebstrap
/usr/bin/mmdebstrap
I: the option --force-check-gpg is a no-op. It only exists for compatibility with some debootstrap wrappers.
I: automatically chosen mode: root
I: chroot architecture amd64 is equal to the host's architecture
I: automatically chosen format: directory
I: running apt-get update...
done
I: downloading packages with apt...
done
E: nothing got downloaded
W: listening on child socket failed: Undefined subroutine &Devel::Cover::get_coverage called at /usr/bin/mmdebstrap line 105.

E: mmdebstrap failed
E: debootstrap.log not present
W: Aborting with an error
E: pbuilder create failed
I: forking: rm -rf /var/cache/pbuilder/base.cow
Hi, I'm trying to build a cowbuilder image using mmdebstrap as the debootrap program, but creation fails with an "Undefine subroutine" error. Here's the log: $ doas cowbuilder create --debootstrap=mmdebstrap I: Invoking pbuilder I: forking: pbuilder create --debootstrap mmdebstrap --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer W: /root/.pbuilderrc does not exist I: Running in no-targz mode I: Distribution is sid. I: Current time: Thu Dec 30 13:31:14 CET 2021 I: pbuilder-time-stamp: 1640867474 I: Building the build environment I: running mmdebstrap /usr/bin/mmdebstrap I: the option --force-check-gpg is a no-op. It only exists for compatibility with some debootstrap wrappers. I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: directory I: running apt-get update... done I: downloading packages with apt... done E: nothing got downloaded W: listening on child socket failed: Undefined subroutine &Devel::Cover::get_coverage called at /usr/bin/mmdebstrap line 105. E: mmdebstrap failed E: debootstrap.log not present W: Aborting with an error E: pbuilder create failed I: forking: rm -rf /var/cache/pbuilder/base.cow
josch commented 2 years ago
Owner

The message "Undefined subroutine" warning is a red herring. The next release will make sure it is not displayed. This is not the problem.

The actual problem is the E: nothing got downloaded. I am not familiar with cowbuilder. Do you think you could somehow find out which exact command line mmdebstrap is run with by pbuilder create?

The message "Undefined subroutine" warning is a red herring. The next release will make sure it is not displayed. This is not the problem. The actual problem is the `E: nothing got downloaded`. I am not familiar with cowbuilder. Do you think you could somehow find out which exact command line mmdebstrap is run with by `pbuilder create`?
tachi commented 2 years ago
Poster

The --debug flag shows that mmdebstrap is invoked as mmdebstrap --include=apt --variant=buildd --force-check-gpg sid /var/cache/pbuilder/base.cow http://deb.debian.org/debian

$ doas cowbuilder create --debootstrap=mmdebstrap --debug               
I: Invoking pbuilder
I: forking: pbuilder create --debootstrap mmdebstrap --debug --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer
W: /root/.pbuilderrc does not exist
++ shift
++ '[' -n --buildplace ']'
++ case "$1" in
++ '[' '!' -d /var/cache/pbuilder/base.cow ']'
+++ readlink -f /var/cache/pbuilder/base.cow
++ BUILDPLACE=/var/cache/pbuilder/base.cow
++ shift
++ shift
++ '[' -n --mirror ']'
++ case "$1" in
++ MIRRORSITE=http://deb.debian.org/debian
++ OVERRIDE_APTLINES_WARN=yes
++ shift
++ shift
++ '[' -n --distribution ']'
++ case "$1" in
++ DISTRIBUTION=sid
++ OVERRIDE_APTLINES_WARN=yes
++ shift
++ shift
++ '[' -n --no-targz ']'
++ case "$1" in
++ log.i 'Running in no-targz mode'
++ case "${LOGLEVEL-I}" in
++ log 'I: Running in no-targz mode'
++ set +x
I: Running in no-targz mode
++ INTERNAL_BUILD_UML=yes
++ shift
++ '[' -n --extrapackages ']'
++ case "$1" in
++ EXTRAPACKAGES=cowdancer
++ shift
++ shift
++ '[' -n '' ']'
++ log.d 'cmdline: create --debootstrap mmdebstrap --debug --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer'
++ case "${LOGLEVEL-I}" in
++ BUILDPLACE=/var/cache/pbuilder/base.cow
++ BASEBUILDPLACE=/var/cache/pbuilder/base.cow
++ '[' yes '!=' yes -a no '!=' yes ']'
++ case "$LOGLEVEL" in
++ '[' -z '' ']'
++ CHROOTEXEC='chroot /var/cache/pbuilder/base.cow '
++ '[' no = yes ']'
++ '[' yes = yes ']'
++ systemctl is-system-running --quiet
+++ dpkg-query -W '--showformat=${Version}' systemd
++ dpkg --compare-versions 249.7-1 gt 215
++ SYSTEMD_SLICE=system-pbuilder-create-25694.slice
++ systemctl_run=(systemd-run --quiet --scope --description="pbuilder_${PBUILDER_OPERATION}${1:+_"$(basename "$1")"}" --slice="$SYSTEMD_SLICE")
++ CHROOTEXEC='systemd-run --quiet --scope --description=pbuilder_create --slice=system-pbuilder-create-25694.slice chroot /var/cache/pbuilder/base.cow '
++ case "$PBUILDER_OPERATION" in
++ '[' sid = experimental ']'
++ EXPERIMENTAL=
++ case "$PBUILDER_OPERATION" in
++ '[' noninteractive = noninteractive -o noninteractive = Noninteractive ']'
++ exec
++ FORCE_CONFNEW[0]=-o
++ FORCE_CONFNEW[1]=DPkg::Options::=--force-confnew
++ '[' -n '' ']'
+++ sort -u
++ BINDMOUNTS=
++ '[' no = yes ']'
+ '[' -z sid ']'
+ log.i 'Distribution is sid.'
+ case "${LOGLEVEL-I}" in
+ log 'I: Distribution is sid.'
+ set +x
I: Distribution is sid.
+ '[' yes = yes ']'
+ TRAP='echo ignoring trap '
+ echobacktime
++ date
+ log.i 'Current time: Thu Dec 30 13:39:06 CET 2021'
+ case "${LOGLEVEL-I}" in
+ log 'I: Current time: Thu Dec 30 13:39:06 CET 2021'
+ set +x
I: Current time: Thu Dec 30 13:39:06 CET 2021
++ date +%s
+ log.i 'pbuilder-time-stamp: 1640867946'
+ case "${LOGLEVEL-I}" in
+ log 'I: pbuilder-time-stamp: 1640867946'
+ set +x
I: pbuilder-time-stamp: 1640867946
+ cleanbuildplace
+ '[' 0 -ne 0 ']'
+ unloadhooks
+ '[' -z '' ']'
+ return
+ '[' yes '!=' yes ']'
+ log.i 'Building the build environment'
+ case "${LOGLEVEL-I}" in
+ log 'I: Building the build environment'
+ set +x
I: Building the build environment
+ mkdir -p /var/cache/pbuilder/base.cow
+ '[' '!' -d /var/cache/pbuilder/base.cow ']'
+ echo ignoring trap cleanbuildplace exit
ignoring trap cleanbuildplace exit
+ log.i 'running mmdebstrap'
+ case "${LOGLEVEL-I}" in
+ log 'I: running mmdebstrap'
+ set +x
I: running mmdebstrap
+ unset DEBOOTSTRAPSCRIPT
+ '[' -n '' ']'
+ which mmdebstrap
/usr/bin/mmdebstrap
+ :
+ '[' -n /var/cache/pbuilder/aptcache/ ']'
+ '[' mmdebstrap = debootstrap -o mmdebstrap = qemu-debootstrap ']'
+ mmdebstrap --include=apt --variant=buildd --force-check-gpg sid /var/cache/pbuilder/base.cow http://deb.debian.org/debian
I: the option --force-check-gpg is a no-op. It only exists for compatibility with some debootstrap wrappers.
I: automatically chosen mode: root
I: chroot architecture amd64 is equal to the host's architecture
I: automatically chosen format: directory
I: running apt-get update...
done
I: downloading packages with apt...
done
E: nothing got downloaded
W: listening on child socket failed: Undefined subroutine &Devel::Cover::get_coverage called at /usr/bin/mmdebstrap line 105.

+ log.e 'mmdebstrap failed'
+ case "${LOGLEVEL-I}" in
+ log 'E: mmdebstrap failed'
+ set +x
E: mmdebstrap failed
+ '[' -f /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log ']'
+ log.e 'debootstrap.log not present'
+ case "${LOGLEVEL-I}" in
+ log 'E: debootstrap.log not present'
+ set +x
E: debootstrap.log not present
+ exit 1
E: pbuilder create failed
The `--debug` flag shows that mmdebstrap is invoked as `mmdebstrap --include=apt --variant=buildd --force-check-gpg sid /var/cache/pbuilder/base.cow http://deb.debian.org/debian` $ doas cowbuilder create --debootstrap=mmdebstrap --debug I: Invoking pbuilder I: forking: pbuilder create --debootstrap mmdebstrap --debug --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer W: /root/.pbuilderrc does not exist ++ shift ++ '[' -n --buildplace ']' ++ case "$1" in ++ '[' '!' -d /var/cache/pbuilder/base.cow ']' +++ readlink -f /var/cache/pbuilder/base.cow ++ BUILDPLACE=/var/cache/pbuilder/base.cow ++ shift ++ shift ++ '[' -n --mirror ']' ++ case "$1" in ++ MIRRORSITE=http://deb.debian.org/debian ++ OVERRIDE_APTLINES_WARN=yes ++ shift ++ shift ++ '[' -n --distribution ']' ++ case "$1" in ++ DISTRIBUTION=sid ++ OVERRIDE_APTLINES_WARN=yes ++ shift ++ shift ++ '[' -n --no-targz ']' ++ case "$1" in ++ log.i 'Running in no-targz mode' ++ case "${LOGLEVEL-I}" in ++ log 'I: Running in no-targz mode' ++ set +x I: Running in no-targz mode ++ INTERNAL_BUILD_UML=yes ++ shift ++ '[' -n --extrapackages ']' ++ case "$1" in ++ EXTRAPACKAGES=cowdancer ++ shift ++ shift ++ '[' -n '' ']' ++ log.d 'cmdline: create --debootstrap mmdebstrap --debug --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer' ++ case "${LOGLEVEL-I}" in ++ BUILDPLACE=/var/cache/pbuilder/base.cow ++ BASEBUILDPLACE=/var/cache/pbuilder/base.cow ++ '[' yes '!=' yes -a no '!=' yes ']' ++ case "$LOGLEVEL" in ++ '[' -z '' ']' ++ CHROOTEXEC='chroot /var/cache/pbuilder/base.cow ' ++ '[' no = yes ']' ++ '[' yes = yes ']' ++ systemctl is-system-running --quiet +++ dpkg-query -W '--showformat=${Version}' systemd ++ dpkg --compare-versions 249.7-1 gt 215 ++ SYSTEMD_SLICE=system-pbuilder-create-25694.slice ++ systemctl_run=(systemd-run --quiet --scope --description="pbuilder_${PBUILDER_OPERATION}${1:+_"$(basename "$1")"}" --slice="$SYSTEMD_SLICE") ++ CHROOTEXEC='systemd-run --quiet --scope --description=pbuilder_create --slice=system-pbuilder-create-25694.slice chroot /var/cache/pbuilder/base.cow ' ++ case "$PBUILDER_OPERATION" in ++ '[' sid = experimental ']' ++ EXPERIMENTAL= ++ case "$PBUILDER_OPERATION" in ++ '[' noninteractive = noninteractive -o noninteractive = Noninteractive ']' ++ exec ++ FORCE_CONFNEW[0]=-o ++ FORCE_CONFNEW[1]=DPkg::Options::=--force-confnew ++ '[' -n '' ']' +++ sort -u ++ BINDMOUNTS= ++ '[' no = yes ']' + '[' -z sid ']' + log.i 'Distribution is sid.' + case "${LOGLEVEL-I}" in + log 'I: Distribution is sid.' + set +x I: Distribution is sid. + '[' yes = yes ']' + TRAP='echo ignoring trap ' + echobacktime ++ date + log.i 'Current time: Thu Dec 30 13:39:06 CET 2021' + case "${LOGLEVEL-I}" in + log 'I: Current time: Thu Dec 30 13:39:06 CET 2021' + set +x I: Current time: Thu Dec 30 13:39:06 CET 2021 ++ date +%s + log.i 'pbuilder-time-stamp: 1640867946' + case "${LOGLEVEL-I}" in + log 'I: pbuilder-time-stamp: 1640867946' + set +x I: pbuilder-time-stamp: 1640867946 + cleanbuildplace + '[' 0 -ne 0 ']' + unloadhooks + '[' -z '' ']' + return + '[' yes '!=' yes ']' + log.i 'Building the build environment' + case "${LOGLEVEL-I}" in + log 'I: Building the build environment' + set +x I: Building the build environment + mkdir -p /var/cache/pbuilder/base.cow + '[' '!' -d /var/cache/pbuilder/base.cow ']' + echo ignoring trap cleanbuildplace exit ignoring trap cleanbuildplace exit + log.i 'running mmdebstrap' + case "${LOGLEVEL-I}" in + log 'I: running mmdebstrap' + set +x I: running mmdebstrap + unset DEBOOTSTRAPSCRIPT + '[' -n '' ']' + which mmdebstrap /usr/bin/mmdebstrap + : + '[' -n /var/cache/pbuilder/aptcache/ ']' + '[' mmdebstrap = debootstrap -o mmdebstrap = qemu-debootstrap ']' + mmdebstrap --include=apt --variant=buildd --force-check-gpg sid /var/cache/pbuilder/base.cow http://deb.debian.org/debian I: the option --force-check-gpg is a no-op. It only exists for compatibility with some debootstrap wrappers. I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: directory I: running apt-get update... done I: downloading packages with apt... done E: nothing got downloaded W: listening on child socket failed: Undefined subroutine &Devel::Cover::get_coverage called at /usr/bin/mmdebstrap line 105. + log.e 'mmdebstrap failed' + case "${LOGLEVEL-I}" in + log 'E: mmdebstrap failed' + set +x E: mmdebstrap failed + '[' -f /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log ']' + log.e 'debootstrap.log not present' + case "${LOGLEVEL-I}" in + log 'E: debootstrap.log not present' + set +x E: debootstrap.log not present + exit 1 E: pbuilder create failed
tachi commented 2 years ago
Poster

Running mmdebstrap itself with the --debug option produces the following log

$ doas cowbuilder create --debootstrap=mmdebstrap --debootstrapopts='--debug'
I: Invoking pbuilder
I: forking: pbuilder create --debootstrap mmdebstrap --debootstrapopts --debug --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: Distribution is sid.
I: Current time: Thu Dec 30 13:46:25 CET 2021
I: pbuilder-time-stamp: 1640868385
I: Building the build environment
I: running mmdebstrap
/usr/bin/mmdebstrap
I: 26427 4260 the option --force-check-gpg is a no-op. It only exists for compatibility with some debootstrap wrappers.
I: 26427 4430 automatically chosen mode: root
D: 26427 4583 Native architecture (outside): amd64
D: 26427 4584 Native architecture (inside): amd64
D: 26427 4586 Foreign architectures (inside): 
I: 26427 4756 chroot architecture amd64 is equal to the host's architecture
D: 26427 3845 suite impish with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite raring with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite wily with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite xenial with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite eoan with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite natty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite quantal with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite breezy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite artful with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite gutsy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite focal with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite disco with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite warty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite karmic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite cosmic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite bionic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite dapper with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite groovy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite lucid with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite maverick with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite utopic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite zesty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite hardy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite precise with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite jaunty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite jammy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite vivid with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite hirsute with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite edgy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite hoary with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite yakkety with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite trusty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite saucy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite intrepid with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite oneiric with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite feisty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg
D: 26427 3845 suite experimental with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite squeeze with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite potato with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite buzz with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite oldoldstable with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite slink with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite stretch with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite testing with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite sarge with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite jessie with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite wheezy with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite buster with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite hamm with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite bullseye with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite stable with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite unstable with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite etch with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite ascii with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite woody with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite jessie-kfreebsd with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite rex with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite ceres with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite beowulf with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite bo with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite lenny with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg
D: 26427 3845 suite bookworm with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite trixie with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite oldstable with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite sid with keyring /usr/share/keyrings/debian-archive-keyring.gpg
D: 26427 3845 suite aequorea with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg
D: 26427 3845 suite bartholomea with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg
D: 26427 3845 suite dasyatis with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg
D: 26427 3845 suite chromodoris with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg
D: 26427 3845 suite kali-bleeding-edge with keyring /usr/share/keyrings/kali-archive-keyring.gpg
D: 26427 3845 suite kali-last-snapshot with keyring /usr/share/keyrings/kali-archive-keyring.gpg
D: 26427 3845 suite kali-rolling with keyring /usr/share/keyrings/kali-archive-keyring.gpg
D: 26427 3845 suite kali-dev with keyring /usr/share/keyrings/kali-archive-keyring.gpg
D: 26427 5044 sources list entries:
D: 26427 5049 type: one-line
D: 26427 5050 content:
D: 26427 5052   deb http://deb.debian.org/debian sid main
I: 26427 5160 automatically chosen format: directory
D: 26427 5605 starting to listen for hooks
D: 26447 1481 aptopts: []
D: 26447 1481 apttrusted: /etc/apt/trusted.gpg
D: 26447 1481 apttrustedparts: /etc/apt/trusted.gpg.d/
D: 26447 1481 architectures: [amd64]
D: 26447 1481 canmount: 1
D: 26447 1481 components: [main]
D: 26447 1481 customize_hook: []
D: 26447 1481 dpkgopts: []
D: 26447 1481 dryrun: 0
D: 26447 1481 essential_hook: []
D: 26447 1481 extract_hook: []
D: 26447 1481 foreignarchs: []
D: 26447 1481 havemknod: 1
D: 26447 1481 hooksock: GLOB
D: 26447 1481 include: [apt]
D: 26447 1481 mode: root
D: 26447 1481 nativearch: amd64
D: 26447 1481 noop: [force-check-gpg]
D: 26447 1481 root: /var/cache/pbuilder/base.cow
D: 26447 1481 setup_hook: []
D: 26447 1481 skip: []
D: 26447 1481 sourceslists: [HASH(0x55ef47060ac0)]
D: 26447 1481 suite: sid
D: 26447 1481 target: /var/cache/pbuilder/base.cow
D: 26447 1481 variant: buildd
apt 2.3.13 (amd64)
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 Pkg:  Debian APT solver interface (Priority -1000)
 Pkg:  Debian APT planner interface (Priority -1000)
 S.L: 'deb' Debian binary tree
 S.L: 'deb-src' Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file
 Idx: Debian deb file
 Idx: Debian dsc file
 Idx: Debian control file
 Idx: EDSP scenario file
 Idx: EIPP scenario file
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::Sandbox "";
APT::Sandbox::User "_apt";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "0";
APT::Compressor::zstd "";
APT::Compressor::zstd::Name "zstd";
APT::Compressor::zstd::Extension ".zst";
APT::Compressor::zstd::Binary "zstd";
APT::Compressor::zstd::Cost "60";
APT::Compressor::zstd::CompressArg "";
APT::Compressor::zstd::CompressArg:: "-19";
APT::Compressor::zstd::UncompressArg "";
APT::Compressor::zstd::UncompressArg:: "-d";
APT::Compressor::lz4 "";
APT::Compressor::lz4::Name "lz4";
APT::Compressor::lz4::Extension ".lz4";
APT::Compressor::lz4::Binary "false";
APT::Compressor::lz4::Cost "50";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "100";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-6n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "200";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "300";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-6";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "400";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-6";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
Dir "/var/cache/pbuilder/base.cow";
Dir::State "var/lib/apt";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::Status "/var/cache/pbuilder/base.cow/var/lib/dpkg/status";
Dir::State::extended_states "extended_states";
Dir::Cache "var/cache/apt";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::netrcparts "auth.conf.d";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "/etc/apt/trusted.gpg";
Dir::Etc::trustedparts "/etc/apt/trusted.gpg.d/";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::planners "";
Dir::Bin::planners:: "/usr/lib/apt/planners";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::gzip "/bin/gzip";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Bin::lz4 "/usr/bin/lz4";
Dir::Bin::zstd "/usr/bin/zstd";
Dir::Bin::lzma "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Log::Planner "eipp.log.xz";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.ucf-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "\.distUpgrade$";
Acquire "";
Acquire::AllowInsecureRepositories "0";
Acquire::AllowWeakRepositories "0";
Acquire::AllowDowngradeToInsecureRepositories "0";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::IndexTargets "";
Acquire::IndexTargets::deb "";
Acquire::IndexTargets::deb::Packages "";
Acquire::IndexTargets::deb::Packages::MetaKey "$(COMPONENT)/binary-$(ARCHITECTURE)/Packages";
Acquire::IndexTargets::deb::Packages::flatMetaKey "Packages";
Acquire::IndexTargets::deb::Packages::ShortDescription "Packages";
Acquire::IndexTargets::deb::Packages::Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Packages";
Acquire::IndexTargets::deb::Packages::flatDescription "$(RELEASE) Packages";
Acquire::IndexTargets::deb::Packages::Optional "0";
Acquire::IndexTargets::deb::Translations "";
Acquire::IndexTargets::deb::Translations::MetaKey "$(COMPONENT)/i18n/Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::flatMetaKey "$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::ShortDescription "Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::Description "$(RELEASE)/$(COMPONENT) Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::flatDescription "$(RELEASE) Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb-src "";
Acquire::IndexTargets::deb-src::Sources "";
Acquire::IndexTargets::deb-src::Sources::MetaKey "$(COMPONENT)/source/Sources";
Acquire::IndexTargets::deb-src::Sources::flatMetaKey "Sources";
Acquire::IndexTargets::deb-src::Sources::ShortDescription "Sources";
Acquire::IndexTargets::deb-src::Sources::Description "$(RELEASE)/$(COMPONENT) Sources";
Acquire::IndexTargets::deb-src::Sources::flatDescription "$(RELEASE) Sources";
Acquire::IndexTargets::deb-src::Sources::Optional "0";
Acquire::Changelogs "";
Acquire::Changelogs::URI "";
Acquire::Changelogs::URI::Origin "";
Acquire::Changelogs::URI::Origin::Debian "https://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog";
Acquire::Changelogs::URI::Origin::Ubuntu "https://changelogs.ubuntu.com/changelogs/pool/@CHANGEPATH@/changelog";
Acquire::Changelogs::AlwaysOnline "";
Acquire::Changelogs::AlwaysOnline::Origin "";
Acquire::Changelogs::AlwaysOnline::Origin::Ubuntu "1";
Acquire::Languages "";
Acquire::Languages:: "none";
Acquire::CompressionTypes "";
Acquire::CompressionTypes::xz "xz";
Acquire::CompressionTypes::bz2 "bzip2";
Acquire::CompressionTypes::lzma "lzma";
Acquire::CompressionTypes::gz "gzip";
Acquire::CompressionTypes::lz4 "lz4";
Acquire::CompressionTypes::zst "zstd";
DPkg "";
DPkg::Path "/usr/sbin:/usr/bin:/sbin:/bin";
pkgCacheGen "";
pkgCacheGen::ForceEssential ",";
Binary "apt-config";
Binary::apt "";
Binary::apt::APT "";
Binary::apt::APT::Color "1";
Binary::apt::APT::Cache "";
Binary::apt::APT::Cache::Show "";
Binary::apt::APT::Cache::Show::Version "2";
Binary::apt::APT::Cache::AllVersions "0";
Binary::apt::APT::Cache::ShowVirtuals "1";
Binary::apt::APT::Cache::Search "";
Binary::apt::APT::Cache::Search::Version "2";
Binary::apt::APT::Cache::ShowDependencyType "1";
Binary::apt::APT::Cache::ShowVersion "1";
Binary::apt::APT::Get "";
Binary::apt::APT::Get::Upgrade-Allow-New "1";
Binary::apt::APT::Get::Update "";
Binary::apt::APT::Get::Update::InteractiveReleaseInfoChanges "1";
Binary::apt::APT::Cmd "";
Binary::apt::APT::Cmd::Show-Update-Stats "1";
Binary::apt::APT::Cmd::Pattern-Only "1";
Binary::apt::APT::Keep-Downloaded-Packages "0";
Binary::apt::DPkg "";
Binary::apt::DPkg::Progress-Fancy "1";
Binary::apt::DPkg::Lock "";
Binary::apt::DPkg::Lock::Timeout "120";
CommandLine "";
CommandLine::AsString "apt-config dump";
D: 26447 1915 content of /var/cache/pbuilder/base.cow/tmp/mmdebstrap.apt.conf.dfQLJAzjtQ_c:
Apt::Architecture "amd64";
Apt::Architectures "amd64";
Dir "/var/cache/pbuilder/base.cow";
Dir::State::Status "/var/cache/pbuilder/base.cow/var/lib/dpkg/status";
Dir::Etc::Trusted "/etc/apt/trusted.gpg";
Dir::Etc::TrustedParts "/etc/apt/trusted.gpg.d/";
pkgCacheGen::ForceEssential ",";
I: 26447 1968 running apt-get update...
D: 26447 705 run_progress: exec apt-get update --error-on=any -oAPT::Status-Fd=${FD} -oDpkg::Use-Pty=false
D: 26448 3340 listener: reading next command
Get:1 http://deb.debian.org/debian sid InRelease [165 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 Packages [8864 kB]
Fetched 9029 kB in 4s (2426 kB/s)
Reading package lists...
I: 26447 2141 downloading packages with apt...
D: 26447 705 run_progress: exec apt-get --yes -oApt::Get::Download-Only=true install ?narrow(?archive(sid),?architecture(amd64),?essential) -oAPT::Status-Fd=${FD} -oDpkg::Use-Pty=false
Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
E: nothing got downloaded at /usr/bin/mmdebstrap line 178, <$pipe_apt> line 1.
	main::error("nothing got downloaded") called at /usr/bin/mmdebstrap line 2222
	main::run_download(HASH(0x55ef471ef198)) called at /usr/bin/mmdebstrap line 1513
	main::setup(HASH(0x55ef471ef198)) called at /usr/bin/mmdebstrap line 5493
	main::main() called at /usr/bin/mmdebstrap line 5812
D: 26448 3343 listener: finished reading command
D: 26448 3647 hooklistener errored out: E: received eof on socket at /usr/bin/mmdebstrap line 178.
	main::error("received eof on socket") called at /usr/bin/mmdebstrap line 3344
	eval {...} called at /usr/bin/mmdebstrap line 3333
	main::hooklistener() called at /usr/bin/mmdebstrap line 4071
	main::main() called at /usr/bin/mmdebstrap line 5812

W: listening on child socket failed: Undefined subroutine &Devel::Cover::get_coverage called at /usr/bin/mmdebstrap line 105.

D: 26427 5630 finish to listen for hooks
E: mmdebstrap failed
E: debootstrap.log not present
W: Aborting with an error
E: pbuilder create failed
I: forking: rm -rf /var/cache/pbuilder/base.cow
Running mmdebstrap itself with the `--debug` option produces the following log <details> $ doas cowbuilder create --debootstrap=mmdebstrap --debootstrapopts='--debug' I: Invoking pbuilder I: forking: pbuilder create --debootstrap mmdebstrap --debootstrapopts --debug --buildplace /var/cache/pbuilder/base.cow --mirror http://deb.debian.org/debian --distribution sid --no-targz --extrapackages cowdancer W: /root/.pbuilderrc does not exist I: Running in no-targz mode I: Distribution is sid. I: Current time: Thu Dec 30 13:46:25 CET 2021 I: pbuilder-time-stamp: 1640868385 I: Building the build environment I: running mmdebstrap /usr/bin/mmdebstrap I: 26427 4260 the option --force-check-gpg is a no-op. It only exists for compatibility with some debootstrap wrappers. I: 26427 4430 automatically chosen mode: root D: 26427 4583 Native architecture (outside): amd64 D: 26427 4584 Native architecture (inside): amd64 D: 26427 4586 Foreign architectures (inside): I: 26427 4756 chroot architecture amd64 is equal to the host's architecture D: 26427 3845 suite impish with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite raring with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite wily with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite xenial with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite eoan with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite natty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite quantal with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite breezy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite artful with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite gutsy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite focal with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite disco with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite warty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite karmic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite cosmic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite bionic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite dapper with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite groovy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite lucid with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite maverick with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite utopic with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite zesty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite hardy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite precise with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite jaunty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite jammy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite vivid with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite hirsute with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite edgy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite hoary with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite yakkety with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite trusty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite saucy with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite intrepid with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite oneiric with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite feisty with keyring /usr/share/keyrings/ubuntu-archive-keyring.gpg D: 26427 3845 suite experimental with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite squeeze with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite potato with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite buzz with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite oldoldstable with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite slink with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite stretch with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite testing with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite sarge with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite jessie with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite wheezy with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite buster with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite hamm with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite bullseye with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite stable with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite unstable with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite etch with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite ascii with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite woody with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite jessie-kfreebsd with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite rex with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite ceres with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite beowulf with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite bo with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite lenny with keyring /usr/share/keyrings/debian-archive-removed-keys.gpg D: 26427 3845 suite bookworm with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite trixie with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite oldstable with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite sid with keyring /usr/share/keyrings/debian-archive-keyring.gpg D: 26427 3845 suite aequorea with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg D: 26427 3845 suite bartholomea with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg D: 26427 3845 suite dasyatis with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg D: 26427 3845 suite chromodoris with keyring /usr/share/keyrings/tanglu-archive-keyring.gpg D: 26427 3845 suite kali-bleeding-edge with keyring /usr/share/keyrings/kali-archive-keyring.gpg D: 26427 3845 suite kali-last-snapshot with keyring /usr/share/keyrings/kali-archive-keyring.gpg D: 26427 3845 suite kali-rolling with keyring /usr/share/keyrings/kali-archive-keyring.gpg D: 26427 3845 suite kali-dev with keyring /usr/share/keyrings/kali-archive-keyring.gpg D: 26427 5044 sources list entries: D: 26427 5049 type: one-line D: 26427 5050 content: D: 26427 5052 deb http://deb.debian.org/debian sid main I: 26427 5160 automatically chosen format: directory D: 26427 5605 starting to listen for hooks D: 26447 1481 aptopts: [] D: 26447 1481 apttrusted: /etc/apt/trusted.gpg D: 26447 1481 apttrustedparts: /etc/apt/trusted.gpg.d/ D: 26447 1481 architectures: [amd64] D: 26447 1481 canmount: 1 D: 26447 1481 components: [main] D: 26447 1481 customize_hook: [] D: 26447 1481 dpkgopts: [] D: 26447 1481 dryrun: 0 D: 26447 1481 essential_hook: [] D: 26447 1481 extract_hook: [] D: 26447 1481 foreignarchs: [] D: 26447 1481 havemknod: 1 D: 26447 1481 hooksock: GLOB D: 26447 1481 include: [apt] D: 26447 1481 mode: root D: 26447 1481 nativearch: amd64 D: 26447 1481 noop: [force-check-gpg] D: 26447 1481 root: /var/cache/pbuilder/base.cow D: 26447 1481 setup_hook: [] D: 26447 1481 skip: [] D: 26447 1481 sourceslists: [HASH(0x55ef47060ac0)] D: 26447 1481 suite: sid D: 26447 1481 target: /var/cache/pbuilder/base.cow D: 26447 1481 variant: buildd apt 2.3.13 (amd64) Supported modules: *Ver: Standard .deb *Pkg: Debian dpkg interface (Priority 30) Pkg: Debian APT solver interface (Priority -1000) Pkg: Debian APT planner interface (Priority -1000) S.L: 'deb' Debian binary tree S.L: 'deb-src' Debian source tree Idx: Debian Source Index Idx: Debian Package Index Idx: Debian Translation Index Idx: Debian dpkg status file Idx: Debian deb file Idx: Debian dsc file Idx: Debian control file Idx: EDSP scenario file Idx: EIPP scenario file APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "false"; APT::Install-Suggests "0"; APT::Sandbox ""; APT::Sandbox::User "_apt"; APT::Architectures ""; APT::Architectures:: "amd64"; APT::Compressor ""; APT::Compressor::. ""; APT::Compressor::.::Name "."; APT::Compressor::.::Extension ""; APT::Compressor::.::Binary ""; APT::Compressor::.::Cost "0"; APT::Compressor::zstd ""; APT::Compressor::zstd::Name "zstd"; APT::Compressor::zstd::Extension ".zst"; APT::Compressor::zstd::Binary "zstd"; APT::Compressor::zstd::Cost "60"; APT::Compressor::zstd::CompressArg ""; APT::Compressor::zstd::CompressArg:: "-19"; APT::Compressor::zstd::UncompressArg ""; APT::Compressor::zstd::UncompressArg:: "-d"; APT::Compressor::lz4 ""; APT::Compressor::lz4::Name "lz4"; APT::Compressor::lz4::Extension ".lz4"; APT::Compressor::lz4::Binary "false"; APT::Compressor::lz4::Cost "50"; APT::Compressor::gzip ""; APT::Compressor::gzip::Name "gzip"; APT::Compressor::gzip::Extension ".gz"; APT::Compressor::gzip::Binary "gzip"; APT::Compressor::gzip::Cost "100"; APT::Compressor::gzip::CompressArg ""; APT::Compressor::gzip::CompressArg:: "-6n"; APT::Compressor::gzip::UncompressArg ""; APT::Compressor::gzip::UncompressArg:: "-d"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "200"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::UncompressArg:: "-d"; APT::Compressor::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "bzip2"; APT::Compressor::bzip2::Cost "300"; APT::Compressor::bzip2::CompressArg ""; APT::Compressor::bzip2::CompressArg:: "-6"; APT::Compressor::bzip2::UncompressArg ""; APT::Compressor::bzip2::UncompressArg:: "-d"; APT::Compressor::lzma ""; APT::Compressor::lzma::Name "lzma"; APT::Compressor::lzma::Extension ".lzma"; APT::Compressor::lzma::Binary "xz"; APT::Compressor::lzma::Cost "400"; APT::Compressor::lzma::CompressArg ""; APT::Compressor::lzma::CompressArg:: "--format=lzma"; APT::Compressor::lzma::CompressArg:: "-6"; APT::Compressor::lzma::UncompressArg ""; APT::Compressor::lzma::UncompressArg:: "--format=lzma"; APT::Compressor::lzma::UncompressArg:: "-d"; Dir "/var/cache/pbuilder/base.cow"; Dir::State "var/lib/apt"; Dir::State::lists "lists/"; Dir::State::cdroms "cdroms.list"; Dir::State::Status "/var/cache/pbuilder/base.cow/var/lib/dpkg/status"; Dir::State::extended_states "extended_states"; Dir::Cache "var/cache/apt"; Dir::Cache::archives "archives/"; Dir::Cache::srcpkgcache "srcpkgcache.bin"; Dir::Cache::pkgcache "pkgcache.bin"; Dir::Etc "etc/apt"; Dir::Etc::sourcelist "sources.list"; Dir::Etc::sourceparts "sources.list.d"; Dir::Etc::main "apt.conf"; Dir::Etc::netrc "auth.conf"; Dir::Etc::netrcparts "auth.conf.d"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.d"; Dir::Etc::trusted "/etc/apt/trusted.gpg"; Dir::Etc::trustedparts "/etc/apt/trusted.gpg.d/"; Dir::Bin ""; Dir::Bin::methods "/usr/lib/apt/methods"; Dir::Bin::solvers ""; Dir::Bin::solvers:: "/usr/lib/apt/solvers"; Dir::Bin::planners ""; Dir::Bin::planners:: "/usr/lib/apt/planners"; Dir::Bin::dpkg "/usr/bin/dpkg"; Dir::Bin::gzip "/bin/gzip"; Dir::Bin::bzip2 "/bin/bzip2"; Dir::Bin::xz "/usr/bin/xz"; Dir::Bin::lz4 "/usr/bin/lz4"; Dir::Bin::zstd "/usr/bin/zstd"; Dir::Bin::lzma "/usr/bin/xz"; Dir::Media ""; Dir::Media::MountPath "/media/apt"; Dir::Log "var/log/apt"; Dir::Log::Terminal "term.log"; Dir::Log::History "history.log"; Dir::Log::Planner "eipp.log.xz"; Dir::Ignore-Files-Silently ""; Dir::Ignore-Files-Silently:: "~$"; Dir::Ignore-Files-Silently:: "\.disabled$"; Dir::Ignore-Files-Silently:: "\.bak$"; Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.ucf-[a-z]+$"; Dir::Ignore-Files-Silently:: "\.save$"; Dir::Ignore-Files-Silently:: "\.orig$"; Dir::Ignore-Files-Silently:: "\.distUpgrade$"; Acquire ""; Acquire::AllowInsecureRepositories "0"; Acquire::AllowWeakRepositories "0"; Acquire::AllowDowngradeToInsecureRepositories "0"; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom/"; Acquire::IndexTargets ""; Acquire::IndexTargets::deb ""; Acquire::IndexTargets::deb::Packages ""; Acquire::IndexTargets::deb::Packages::MetaKey "$(COMPONENT)/binary-$(ARCHITECTURE)/Packages"; Acquire::IndexTargets::deb::Packages::flatMetaKey "Packages"; Acquire::IndexTargets::deb::Packages::ShortDescription "Packages"; Acquire::IndexTargets::deb::Packages::Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Packages"; Acquire::IndexTargets::deb::Packages::flatDescription "$(RELEASE) Packages"; Acquire::IndexTargets::deb::Packages::Optional "0"; Acquire::IndexTargets::deb::Translations ""; Acquire::IndexTargets::deb::Translations::MetaKey "$(COMPONENT)/i18n/Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::flatMetaKey "$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::ShortDescription "Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::Description "$(RELEASE)/$(COMPONENT) Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb::Translations::flatDescription "$(RELEASE) Translation-$(LANGUAGE)"; Acquire::IndexTargets::deb-src ""; Acquire::IndexTargets::deb-src::Sources ""; Acquire::IndexTargets::deb-src::Sources::MetaKey "$(COMPONENT)/source/Sources"; Acquire::IndexTargets::deb-src::Sources::flatMetaKey "Sources"; Acquire::IndexTargets::deb-src::Sources::ShortDescription "Sources"; Acquire::IndexTargets::deb-src::Sources::Description "$(RELEASE)/$(COMPONENT) Sources"; Acquire::IndexTargets::deb-src::Sources::flatDescription "$(RELEASE) Sources"; Acquire::IndexTargets::deb-src::Sources::Optional "0"; Acquire::Changelogs ""; Acquire::Changelogs::URI ""; Acquire::Changelogs::URI::Origin ""; Acquire::Changelogs::URI::Origin::Debian "https://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog"; Acquire::Changelogs::URI::Origin::Ubuntu "https://changelogs.ubuntu.com/changelogs/pool/@CHANGEPATH@/changelog"; Acquire::Changelogs::AlwaysOnline ""; Acquire::Changelogs::AlwaysOnline::Origin ""; Acquire::Changelogs::AlwaysOnline::Origin::Ubuntu "1"; Acquire::Languages ""; Acquire::Languages:: "none"; Acquire::CompressionTypes ""; Acquire::CompressionTypes::xz "xz"; Acquire::CompressionTypes::bz2 "bzip2"; Acquire::CompressionTypes::lzma "lzma"; Acquire::CompressionTypes::gz "gzip"; Acquire::CompressionTypes::lz4 "lz4"; Acquire::CompressionTypes::zst "zstd"; DPkg ""; DPkg::Path "/usr/sbin:/usr/bin:/sbin:/bin"; pkgCacheGen ""; pkgCacheGen::ForceEssential ","; Binary "apt-config"; Binary::apt ""; Binary::apt::APT ""; Binary::apt::APT::Color "1"; Binary::apt::APT::Cache ""; Binary::apt::APT::Cache::Show ""; Binary::apt::APT::Cache::Show::Version "2"; Binary::apt::APT::Cache::AllVersions "0"; Binary::apt::APT::Cache::ShowVirtuals "1"; Binary::apt::APT::Cache::Search ""; Binary::apt::APT::Cache::Search::Version "2"; Binary::apt::APT::Cache::ShowDependencyType "1"; Binary::apt::APT::Cache::ShowVersion "1"; Binary::apt::APT::Get ""; Binary::apt::APT::Get::Upgrade-Allow-New "1"; Binary::apt::APT::Get::Update ""; Binary::apt::APT::Get::Update::InteractiveReleaseInfoChanges "1"; Binary::apt::APT::Cmd ""; Binary::apt::APT::Cmd::Show-Update-Stats "1"; Binary::apt::APT::Cmd::Pattern-Only "1"; Binary::apt::APT::Keep-Downloaded-Packages "0"; Binary::apt::DPkg ""; Binary::apt::DPkg::Progress-Fancy "1"; Binary::apt::DPkg::Lock ""; Binary::apt::DPkg::Lock::Timeout "120"; CommandLine ""; CommandLine::AsString "apt-config dump"; D: 26447 1915 content of /var/cache/pbuilder/base.cow/tmp/mmdebstrap.apt.conf.dfQLJAzjtQ_c: Apt::Architecture "amd64"; Apt::Architectures "amd64"; Dir "/var/cache/pbuilder/base.cow"; Dir::State::Status "/var/cache/pbuilder/base.cow/var/lib/dpkg/status"; Dir::Etc::Trusted "/etc/apt/trusted.gpg"; Dir::Etc::TrustedParts "/etc/apt/trusted.gpg.d/"; pkgCacheGen::ForceEssential ","; I: 26447 1968 running apt-get update... D: 26447 705 run_progress: exec apt-get update --error-on=any -oAPT::Status-Fd=${FD} -oDpkg::Use-Pty=false D: 26448 3340 listener: reading next command Get:1 http://deb.debian.org/debian sid InRelease [165 kB] Get:2 http://deb.debian.org/debian sid/main amd64 Packages [8864 kB] Fetched 9029 kB in 4s (2426 kB/s) Reading package lists... I: 26447 2141 downloading packages with apt... D: 26447 705 run_progress: exec apt-get --yes -oApt::Get::Download-Only=true install ?narrow(?archive(sid),?architecture(amd64),?essential) -oAPT::Status-Fd=${FD} -oDpkg::Use-Pty=false Reading package lists... Building dependency tree... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. E: nothing got downloaded at /usr/bin/mmdebstrap line 178, <$pipe_apt> line 1. main::error("nothing got downloaded") called at /usr/bin/mmdebstrap line 2222 main::run_download(HASH(0x55ef471ef198)) called at /usr/bin/mmdebstrap line 1513 main::setup(HASH(0x55ef471ef198)) called at /usr/bin/mmdebstrap line 5493 main::main() called at /usr/bin/mmdebstrap line 5812 D: 26448 3343 listener: finished reading command D: 26448 3647 hooklistener errored out: E: received eof on socket at /usr/bin/mmdebstrap line 178. main::error("received eof on socket") called at /usr/bin/mmdebstrap line 3344 eval {...} called at /usr/bin/mmdebstrap line 3333 main::hooklistener() called at /usr/bin/mmdebstrap line 4071 main::main() called at /usr/bin/mmdebstrap line 5812 W: listening on child socket failed: Undefined subroutine &Devel::Cover::get_coverage called at /usr/bin/mmdebstrap line 105. D: 26427 5630 finish to listen for hooks E: mmdebstrap failed E: debootstrap.log not present W: Aborting with an error E: pbuilder create failed I: forking: rm -rf /var/cache/pbuilder/base.cow </details>
josch commented 2 years ago
Owner

I know the problem. It will be fixed with the next mmdebstrap release. It also needs a new apt release, specifically one with this commit: c6bd75f906

If you know how to hack pbuilder/cowbuilder, a workaround for the moment is to run mmdebstrap with 'unstable' instead of 'sid'.

I know the problem. It will be fixed with the next mmdebstrap release. It also needs a new apt release, specifically one with this commit: https://salsa.debian.org/apt-team/apt/-/commit/c6bd75f906c9c782e739ec99f2983407500811bf If you know how to hack pbuilder/cowbuilder, a workaround for the moment is to run mmdebstrap with 'unstable' instead of 'sid'.
tachi commented 2 years ago
Poster

Nice to hear, thanks! I'll patiently wait for the next release :)

Nice to hear, thanks! I'll patiently wait for the next release :)
josch commented 2 years ago
Owner

Another fix for you would be to downgrade mmdebstrap to 0.8.1 and then wait for 0.8.3. The only broken release is 0.8.2.

Another fix for you would be to downgrade mmdebstrap to 0.8.1 and then wait for 0.8.3. The only broken release is 0.8.2.
tachi commented 2 years ago
Poster

Ok, feel free to close this issue whenever you want

Ok, feel free to close this issue whenever you want
josch changed title from mmdebstrap fails to create a cowbuilder image - Undefined subroutine &Devel::Cover::get_coverage to mmdebstrap fails when identifying suite by codename 2 years ago
josch commented 2 years ago
Owner

Fixed in 0.8.3 by 88619e4d9c

Fixed in 0.8.3 by 88619e4d9c3851bd4a7a024eedba7890c6155f52
josch closed this issue 2 years ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: josch/mmdebstrap#21
Loading…
There is no content yet.