* Hello, so yesterday I had the following problem: > ``` > [ 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 ] Debootstrap base system second stage failed > [ o.k. ] Process terminated > [ o.k. ] Unmounting [ /home/basti/Kernel/build/.tmp/rootfs-dev-nanopct4-bullseye-no-yes/ ] > [ error ] ERROR in function unmount_on_exit [ image-helpers.sh:66 ] > [ error ] debootstrap-ng was interrupted > [ o.k. ] Process terminated > ``` > The script doesn't provide any feedback within some log file as the mentioned debootstrap.log file doesn't exist, which keeps me guessing :/ > I looked through the forum but the posts I was able to find were ancient 2015-2016. I thought I could maybe get some info with this change: > ``` > - eval 'chroot $SDCARD /bin/bash -c "/debootstrap/debootstrap --second-stage"' \ > + eval 'chroot $SDCARD /bin/bash -c "/debootstrap/debootstrap --second-stage --verbose" 2>&1 > /home/$USER/debootstrap.log' \ > ``` > ``` > But that only showed me what I already know: > W: Failure trying to run: /sbin/ldconfig > W: See //debootstrap/debootstrap.log for detail > ``` > > I am working on a new laptop so my hope is that it might just be a missing configuration. At first I tried the build on docker and my desktop machine with the same result. Afterward I started to play with the configuration and finally I found out that the: 'PACKAGE_LIST_ADDITIONAL' option within the `userpatches/lib.config` file caused the error. Here is my configuration just as reference: lib.config ``` KERNELBRANCH="branch:master" KERNELSOURCE="https://git.linuxtv.org/media_tree.git/" ``` config-example.conf ``` KERNEL_ONLY="no" KERNEL_CONFIGURE="yes" CLEAN_LEVEL="make,debs,oldcache" DEST_LANG="en_US.UTF-8" # advanced EXTERNAL_NEW="prebuilt" EXPERT="yes" LIB_TAG="master" BOARD="nanopct4" BRANCH="dev" RELEASE="bullseye" EXTRAWIFI="no" WIREGUARD="no" AUFS="no" INSTALL_HEADERS="no" BUILD_MINIMAL="yes" BUILD_DESKTOP="no" ``` Greetings, Sebastian