I've tried to trace the last remaining error. As far as I can tell, this problem is not in debootstrap, so it would have to be in d-i's run-debootstrap.
I have done an install with extra debugging statements around the last statements in debootstrap (see deboot.debug), but even with an explicit 'exit 0' I still get the error message "The debootstrap program exited with an error (return value 1).". The output of the debug statements is in deboot.fjp. You could consider adding an explicit 'exit 0' at the end of the script anyway. Cheers, FJP
echo "Check 1" >/deboot.fjp cp $TARGET/debootstrap/debootstrap.log $TARGET/var/log/bootstrap.log echo "Check 2 - $?" >>/deboot.fjp sync echo "Check 3 - $?" >>/deboot.fjp if [ "$KEEP_DEBOOTSTRAP_DIR" = true ]; then echo "Check 4 - $?" >>/deboot.fjp if [ -x $TARGET/debootstrap/debootstrap ]; then echo "Check 5 - $?" >>/deboot.fjp chmod 644 "$TARGET/debootstrap/debootstrap" echo "Check 6 - $?" >>/deboot.fjp fi echo "Check 7 - $?" >>/deboot.fjp else echo "Check 8 - $?" >>/deboot.fjp rm -rf "$TARGET/debootstrap" echo "Check 9 - $?" >>/deboot.fjp fi echo "Check 10 - $?" >>/deboot.fjp fi echo "Check 11 - $?" >>/deboot.fjp if [ -n "$USE_BOOTFLOPPIES_INTERACTION" ] ; then echo "Check 12 - $?" >>/deboot.fjp echo "I: debootstrap: Successfully completed" # goes to /dev/tty4 echo "Check 13 - $?" >>/deboot.fjp sleep 1 || true # give the user a second to see the success notice. echo "Check 14 - $?" >>/deboot.fjp fi echo "Check 15 - $?" >>/deboot.fjp echo "" >>/deboot.fjp echo "Exit program successfully" >>/deboot.fjp echo "" >>/deboot.fjp ps alx >>/deboot.fjp exit 0
Check 1 Check 2 - 0 Check 3 - 0 Check 8 - 1 Check 9 - 0 Check 10 - 0 Check 11 - 0 Check 15 - 0 Exit program successfully PID Uid VmSize Stat Command 1 root 456 S init 2 root SW [kmcheck] 3 root SW [keventd] 4 root RWN [ksoftirqd_CPU0] 5 root SW [kswapd] 6 root SW [bdflush] 7 root SW [kupdated] 57 root 464 S /sbin/syslogd -m 0 -O /var/log/syslog -S 60 root 432 S /sbin/klogd -c 2 213 root 464 S /bin/sh /sbin/debian-installer 220 root 784 S debconf -o d-i /usr/bin/main-menu 221 root 516 S /usr/bin/main-menu 326 root 1168 S /usr/sbin/sshd 348 root 1660 S sshd: [EMAIL PROTECTED]/0 349 root 488 S /bin/sh /sbin/debian-installer /bin/network-console-m 360 root 4620 S debconf -o d-i /bin/network-console-menu 361 root 580 S main-menu 2116 root SW [xfsbufd] 2117 root SW [xfslogd/0] 2118 root SW [xfsdatad/0] 2130 root 1712 S sshd: [EMAIL PROTECTED]/1 2148 root 528 S /bin/sh /sbin/debian-installer /bin/network-console-m 2159 root 5932 S debconf -o d-i /bin/network-console-menu 2160 root 552 S udpkg --configure --force-configure di-utils-shell 2168 root 544 S /bin/sh -e /var/lib/dpkg/info/di-utils-shell.postinst 2174 root 684 S /bin/sh 28108 root SW [kjournald] 28133 root 572 S udpkg --configure --force-configure base-installer 28134 root 588 S /bin/sh /var/lib/dpkg/info/base-installer.postinst co 28258 root 856 S /usr/sbin/run-debootstrap --components=main --debian- 28259 root 644 S /bin/sh -e /usr/sbin/debootstrap --components=main -- 20142 root 516 R ps alx
pgpe2NjxyzavP.pgp
Description: PGP signature