Package: debootstrap Version: 1.0.37 Severity: important Hello,
I have an issue with debootstrap. I debugged the issue and I found the following: The Problem is in the file /usr/share/debootstrap/functions line 634 Here is the code of the line 628 to 634 $PKGDETAILS PKGS "$m" "$pkgdest" "$@" | ( leftover="" while read p ver arc mdup fil checksum size; do if [ "$ver" = "-" ]; then leftover="$leftover $p" else progress_next "$(($dloaddebs + $size))" checksum should contain the SHA256sum and size should contain the size. But if the Packages.gz file does not contain any SHA256sums, then the checksum variable contains the size and the size variable is empty. If that happens then the line 634 executes "0 +" I used the following command: root# debootstrap --no-check-gpg --verbose squeeze /path/chrootsystem/ ftp://ftp.domain.tld/pub/debian/squeeze ... I: Found additional base dependencies: libnfnetlink0 libsqlite3-0 I: Checking component main on ftp://ftp.domain.tld/pub/debian/squeeze... root# Note that there is no useful error message at the console. A message which tells the user to look at debootstrap.log would be nice. And the file /path/chrootsystem/debootstrap/debootstrap.log conains: /usr/sbin/debootstrap: 634: /usr/sbin/debootstrap: arithmetic expression: expecting primary: "0 + " Can somebody please implement a parameter which tells debootstrap not to relly on SHA256sums and use MD5sums instead? About my issue with no SHA256Sums in Packages.gz I already opend another bug [1]. Links: [1] http://bugs.debian.org/662003 sincerely yours Mario Koppensteiner
signature.asc
Description: Digital signature