Hello,
I faced an issue yesterday, while trying to create a custom image with debian bullseye, a specific 5.11 rc1 kernel tree and a couple of packages. The output looked like this:
[ o.k. ] Installing base system [ Stage 2/2 ]
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
W: Failure trying to run: /sbin/ldconfig
W: See //debootstrap/debootstrap.log for details
[ error ] ERROR in function create_rootfs_cache [ debootstrap.sh:177 ]
[ error ] Debootstra