Your message dated Sat, 15 Jun 2024 10:34:36 +0000 with message-id <E1sIQk0-006YXB-59@fasolo.debian.org> and subject line Bug#1061820: fixed in debootstrap 1.0.135 has caused the Debian Bug report #1061820, regarding debootstrap fails if target has spaces 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.) -- 1061820: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061820 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: debootstrap fails if target has spaces
- From: Ken Sharp <imwellcushtymelike@gmail.com>
- Date: Mon, 29 Jan 2024 20:18:40 +0000
- Message-id: <170655952080.691814.16686142930994998542.reportbug@ken>
Package: debootstrap Version: 1.0.128+nmu2+deb12u1 Severity: normal Tags: patch X-Debbugs-Cc: imwellcushtymelike@gmail.com Dear Maintainer, Running a debootstrap where the target directory has a space causes the process to fail. For example: debootstrap --arch=i386 --variant=minbase stable "I love spaces" http://localhost:3142/debian In the log: grep: /tmp/chroots/I: No such file or directory grep: like: No such file or directory grep: spaces/var/lib/apt/lists/localhost:3142_ubuntu_dists_jammy_main_binary-i386_Packages: No such file or directory grep: /tmp/chroots/I: No such file or directory grep: like: No such file or directory grep: spaces/var/lib/apt/lists/localhost:3142_ubuntu_dists_jammy_main_binary-i386_Packages: No such file or directory I will attach a patch that I have tested on Debian Unstable (and some Ubuntu versions). Downstream: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1716079 -- System Information: Debian Release: 12.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 6.5.0-15-generic (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages debootstrap depends on: ii wget 1.21.3-1+b1 Versions of packages debootstrap recommends: pn arch-test <none> ii debian-archive-keyring 2023.3+deb12u1 pn gnupg <none> Versions of packages debootstrap suggests: ii binutils 2.40-2 pn squid-deb-proxy-client <none> pn ubuntu-archive-keyring <none> ii xz-utils 5.4.1-0.2 pn zstd <none> -- no debconf informationdiff --git a/functions b/functions index 1924e89..f5de832 100644 --- a/functions +++ b/functions @@ -1673,7 +1673,7 @@ while (read STDIN, $x, 1) { }' "$@" elif [ "$1" = "GETDEPS" ]; then local pkgdest="$2"; shift; shift -LC_ALL=C grep "$gropt" '^$|^Package:|^Depends:|^Pre-Depends:' $pkgdest | perl -e ' +LC_ALL=C grep "$gropt" '^$|^Package:|^Depends:|^Pre-Depends:' "${pkgdest}" | perl -e ' %seen = map { $_ => 1 } @ARGV; while (<STDIN>) { if (/^Package: (.*)$/) {diff --git a/functions b/functions index 1924e89..f5de832 100644 --- a/functions +++ b/functions @@ -1673,7 +1673,7 @@ while (read STDIN, $x, 1) { }' "$@" elif [ "$1" = "GETDEPS" ]; then local pkgdest="$2"; shift; shift -LC_ALL=C grep "$gropt" '^$|^Package:|^Depends:|^Pre-Depends:' $pkgdest | perl -e ' +LC_ALL=C grep "$gropt" '^$|^Package:|^Depends:|^Pre-Depends:' "${pkgdest}" | perl -e ' %seen = map { $_ => 1 } @ARGV; while (<STDIN>) { if (/^Package: (.*)$/) {diff --git a/functions b/functions index 1924e89..f5de832 100644 --- a/functions +++ b/functions @@ -1673,7 +1673,7 @@ while (read STDIN, $x, 1) { }' "$@" elif [ "$1" = "GETDEPS" ]; then local pkgdest="$2"; shift; shift -LC_ALL=C grep "$gropt" '^$|^Package:|^Depends:|^Pre-Depends:' $pkgdest | perl -e ' +LC_ALL=C grep "$gropt" '^$|^Package:|^Depends:|^Pre-Depends:' "${pkgdest}" | perl -e ' %seen = map { $_ => 1 } @ARGV; while (<STDIN>) { if (/^Package: (.*)$/) {
--- End Message ---
--- Begin Message ---
- To: 1061820-close@bugs.debian.org
- Subject: Bug#1061820: fixed in debootstrap 1.0.135
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sat, 15 Jun 2024 10:34:36 +0000
- Message-id: <E1sIQk0-006YXB-59@fasolo.debian.org>
- Reply-to: Luca Boccassi <bluca@debian.org>
Source: debootstrap Source-Version: 1.0.135 Done: Luca Boccassi <bluca@debian.org> We believe that the bug you reported is fixed in the latest version of debootstrap, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1061820@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Luca Boccassi <bluca@debian.org> (supplier of updated debootstrap package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 15 Jun 2024 11:13:44 +0100 Source: debootstrap Architecture: source Version: 1.0.135 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Luca Boccassi <bluca@debian.org> Closes: 1061820 1073169 Changes: debootstrap (1.0.135) unstable; urgency=medium . [ Ken Sharp ] * fix quoting to allow spaces in target directory (Closes: #1061820) * Use distro-info where possible * Remove superfluous symlinks * Use correct keyring and mirror for Ubuntu * Ubuntu: test for dpkg zstd support for Hirsute+ * Update dependencies * Remove hardcoded HTTPS mirror and use inline substitution . [ Adrien Robert ] * fix: handling of DIRECT returned by Acquire::http:Proxy-Auto-Detect . [ Johannes Schauer Marin Rodrigues ] * debian/tests/debian-testing: test minbase, default and buildd variants . [ Helmut Grohne ] * make debootstrap work on filesystems mounted nodev (Closes: #1073169) Checksums-Sha1: 7ac8f991ae154a8a19d0acbb7599b9f16b398918 2053 debootstrap_1.0.135.dsc ee3d22be86bdcd96b9c441470242ed88acac666e 93295 debootstrap_1.0.135.tar.gz 366d6f0e3dad354d3b5248e3444c602d58461cc9 6584 debootstrap_1.0.135_source.buildinfo Checksums-Sha256: f4cf53b6eb7fa0ac9b6f20dad59a7dd1d293b71945d06e2f91b590acff56e02f 2053 debootstrap_1.0.135.dsc 15dfc865e2954764b10b19cc3cc61ecd6c1ba931f8e411b669478b191d2acde7 93295 debootstrap_1.0.135.tar.gz 7db206e85534788d80e75707d52af14d6b25ca8b95abbceb56ae0439e724f5d3 6584 debootstrap_1.0.135_source.buildinfo Files: a48cf4a79529d7b343204a92762bf13e 2053 admin optional debootstrap_1.0.135.dsc c7229d2d8c809683f6dac09ad3564514 93295 admin optional debootstrap_1.0.135.tar.gz a8f669fae46739d9266ffdc5016af6af 6584 admin optional debootstrap_1.0.135_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEErCSqx93EIPGOymuRKGv37813JB4FAmZtaawRHGJsdWNhQGRl Ymlhbi5vcmcACgkQKGv37813JB6e8xAAxX0EGNVeikKdK1KhlEFV1UQa5egT0oL9 Fnd8FEP8BtLP43cIrVnrxZvlcJWtZO3vU837Y4DoQ9uz0M8jP7FwHqMg0sKI3wHe Rjbr1ZhZQeILXRuf/T+88jIwn3WytYC5nr4q66VKBZpWemhdFiADBpZpM+itd7Ea fXdeJrV/32RW3hpkjqglmtUpycno+lCaQozhxrM6/DvIiyO/UNOUUYgRZikIVozY 04HA6G2axoh8xOudnDRkK7J0IbmkIy8vKBXZI11r1gXOGxo0yStgxxZg+2TJwwX5 5v0KGV76lx8me2kvB69ggzuVf8p933U+KJaCuutRhuWtf6nZAd5yq7GVuR9bWnnm iu4u+aU9E+Czc0ZeKDM5YBoWCqD2pEdlR5pZNWSM70Dsms+DiraBVicJZ3iZdb4L TRAuovhlpNqWBJ1f+EV863dka4+JAUDCUbcI4Hk1ooTe2v5nUe7dgkK60DNCJkQV xt6hmuqJArpOVjM252CHUyp7EN2bdxuzAnf5ZTrXqPl78rhvhhBmkWBmIye+hA+T 08g3GrWgzatl6E3VC0RHYLKc2yuawQUNRuSkn8RsjaHbJHXoqoclEay0z3w4t9Mi zBPtbWl7bfQdn6kEp7EZB5GA0MzxI3dkA8TJD4yJxsvrV6NJ9lzFwDb0bca+FSuL rkPVaKE5mv4= =Wa2q -----END PGP SIGNATURE-----Attachment: pgpQRvU9SpZL8.pgp
Description: PGP signature
--- End Message ---