[Bug 1716079] Re: debootstrap silently fails when bootstrapping to a directory name with spaces
Ken Sharp
1716079 at bugs.launchpad.net
Mon Jan 29 19:53:41 UTC 2024
Well, it's taken me hours of recursing through functions but I got there
in the end.
Attached patch works in Focal, Jammy and Noble. There's an additional
failure in Bionic but that'll have to stay unless someone really needs
it.
I'll submit the patch where it needs to go (including upstream).
** Patch added: "spaces_in_debootstrap.patch"
https://bugs.launchpad.net/ubuntu/+source/cdebootstrap/+bug/1716079/+attachment/5743247/+files/spaces_in_debootstrap.patch
** Changed in: debootstrap (Ubuntu)
Assignee: (unassigned) => Ken Sharp (kennybobs)
** Tags removed: artful zesty
** Tags added: bionic focal patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/1716079
Title:
debootstrap silently fails when bootstrapping to a directory name with
spaces
Status in cdebootstrap package in Ubuntu:
Confirmed
Status in debootstrap package in Ubuntu:
Confirmed
Bug description:
I use debootstrap to do minimal installs of Ubuntu and I couldn't
figure out why debootstrap would silently fail when I pass the name of
my directory I wanted to install the Ubuntu system in (which, for
purposes of bug reporting, I'll call "Ubuntu System").
Running this command will create bootstrap/ and var/ directories in
"Ubuntu System" but will just silently stop:
$ sudo debootstrap --arch amd64 artful Ubuntu\ System
While renaming to UbuntuSystem solves the problem:
$ sudo debootstrap --arch amd64 artful UbuntuSystem
Since this was an Artful installation I was doing it from, I tried
grabbing the version from zesty-updates and it happens there as well.
The least it could do is be a bit more verbose (I even tried with
--verbose and it still didn't work)...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdebootstrap/+bug/1716079/+subscriptions
More information about the foundations-bugs
mailing list