Your message dated Fri, 15 May 2015 05:23:39 +0200 with message-id <20150515032339.GC15828@mraw.org> and subject line Re: Bug#665638: prevent debootstrap vom needing SHA256sums has caused the Debian Bug report #665638, regarding prevent debootstrap vom needing SHA256sums to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 665638: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665638 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: prevent debootstrap vom needing SHA256sums
- From: Mario Koppensteiner <mariok@rantanplan.org>
- Date: Sat, 24 Mar 2012 21:35:50 +0100
- Message-id: <20120324203549.GD3118@rantanplan.org>
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 KoppensteinerAttachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: Mario Koppensteiner <mariok@rantanplan.org>, 665638-done@bugs.debian.org
- Subject: Re: Bug#665638: prevent debootstrap vom needing SHA256sums
- From: Cyril Brulebois <kibi@debian.org>
- Date: Fri, 15 May 2015 05:23:39 +0200
- Message-id: <20150515032339.GC15828@mraw.org>
- In-reply-to: <20120331204021.GH3118@rantanplan.org>
- References: <20120331204021.GH3118@rantanplan.org>
Hi Mario, Mario Koppensteiner <mariok@rantanplan.org> (2012-03-31): > I created a patch for apt-move to solve the SHA256 issue. After I > applied my patch to apt-move, debootstrap accepts the local mirror as > expected. > > For reference please have a look at the bug [1]. > > > Links: > [1] http://bugs.debian.org/662003 For reference, one can select the size for SHA*sums, the default being SHA_SIZE=256. I don't think it's reasonable to keep on supporting MD5sums, so I'm closing this bug report accordingly Mraw, KiBi.Attachment: signature.asc
Description: Digital signature
--- End Message ---