I've just tried a live-build cross build of an armhf image from a stretch
amd64
VM, with debootstrap 1.0.78, and had it fail this way too.

live-build: 1:20151215 (but reports as 5.0~a11-1)
debootstrap: 1.0.78
qemu: 1:2.5+dfsg-5

The command to reproduce the error is:

  lb config \
    --apt-indices none \
    --apt-source-archives false \
    --distribution wheezy \
    --binary-images hdd \
    --hdd-size 512 \
    --architectures armhf \
    --bootstrap-qemu-arch armhf \
    --bootstrap-qemu-static /usr/bin/qemu-arm-static \
    --firmware-binary false \
    --firmware-chroot false

  sudo lb build 2>&1 | tee build_log

The final part of the build log says:

  P: Running debootstrap second stage under QEMU
  I: Keyring file not available at
/usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror
https://mirrors.kernel.org/debian
  P: Begin unmounting filesystems...
  P: Saving caches...
  /usr/bin/env: apt-get: No such file or directory

The full log is attached.

Cheers,
Jason Heeris

PS. Sorry for (a) not using reportbug, but I'm not at that machine right
now;
and (b) the multiple postings.

Attachment: build_log
Description: Binary data

Reply via email to