Bug#762431: debootstrap: fails with spaces in pwd
Package: debootstrap
Version: 1.0.62
Severity: normal
Dear Maintainer,
debootstrap fails if there are spaces in the $PWD directory. On my
machine the debootstrap versions 1.0.60 and 1.0.61 also fail. In
addition, the error also appears on a fresh jessie install.
Bug nr #586158 (debootstrap fails if the directory contains a space)
also fails with spaces in the directory, but observes other issues.
Shell output of failing call to debootstrap (the command finishes sucessfully
when executed in the directory "/home/mweigand/test_debootstrap").
---------------------------------------------------------------------
root@pidwig:/home/mweigand/test debootstrap# debootstrap jessie
jessie_base
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id
A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553)
root@pidwig:/home/mweigand/test debootstrap# ls jessie_base/
debootstrap/ var/
root@pidwig:/home/mweigand/test debootstrap# cat
jessie_base/debootstrap/debootstrap.log
gpgv: Signature made Mon Sep 22 04:48:17 2014 CEST using RSA key ID
46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key
(7.0/wheezy) <ftpmaster@debian.org>"
sed: can't read /home/mweigand/test: No such file or directory
---------------------------------------------------------------------
As far as I investigated, the error is produced in the call to
'download_indices' (/usr/sbin/debootstrap, line 559), calling the
function defined in /usr/share/debootstrap/functions (line 423).
Best regards
Maximilian
-- System Information:
Debian Release: 7.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.15.6-mx1 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debootstrap depends on:
ii wget 1.13.4-3+deb7u1
Versions of packages debootstrap recommends:
ii debian-archive-keyring 2012.4
ii gnupg 1.4.12-7+deb7u6
debootstrap suggests no packages.
-- no debconf information
Reply to: