Package: debootstrap-udeb Version: 0.3.1 Severity: grave Two errors in "functions" breaking new installations have been confirmed testing debootstrap udeb in sid during an emulated S/390 installation.
The following 2 changes will fix them.
===
local totaldebs=0
- local leftoverdebs="$*"
+ local leftoverdebs="$@"
for c in $COMPONENTS; do
if [ "$countdebs" -ge "$numdebs" ]; then break; fi
===
fi
done
- echo >&3 ${leftover# }
+ echo >&5 ${leftover# }
)
}
---
local pkgdest="$TARGET/$($DLDEST pkg $SUITE $c $ARCH $m $path)"
if [ ! -e "$pkgdest" ]; then continue; fi
- pkgs_to_get="$(download_debs "$m" "$pkgdest" $pkgs_to_get 3>&1 1>&4)"
+ pkgs_to_get="$(download_debs "$m" "$pkgdest" $pkgs_to_get 5>&1 1>&4)"
if [ "$pkgs_to_get" = "" ]; then break; fi
done 4>&1
===
With these two changes base-installation finishes successfully, with
good progress information on VT1.
There _is_ another error from debootstrap at the very end:
The debootstrap program exited with an error (return value 1).
The logs had already been copied and the /target/debootstrap dir was gone.
I have not (yet) been able to trace this bug. At first I thought it could
be caused by the fact that I was running the script "set -x", but the same
errors occurs without "set -x".
The last lines in /target/var/log/bootstrap.log (with "set -x") were:
+ info BASESUCCESS Base system installed successfully.
+ local name=BASESUCCESS
+ local fmt=Base system installed successfully.
+ shift
+ shift
+ [ yes ]
+ echo I: BASESUCCESS
+ echo IF: Base system installed successfully.
I will try to debug this further tomorrow.
Cheers,
FJP
pgpwi8aGbpepx.pgp
Description: PGP signature

