Closed DonaldKellett closed 1 year ago
Just occurred to me to check the Bash version on deepin 23 Beta: 5.1.8(1)-release
The latest upstream version appears to be 5.2.15 at the time of writing. Might this issue be due to an outdated Bash version that doesn't support the language features required by distrobox-assemble
?
That is a good working theory. Given that we are limited w/ volunteers / support, I would recommend firing up a virtual machine and giving it a try in another system that has 1.5 + appropriate bash version.
I might take a stab at testing this myself, but you might beat me to it.
@89luca89 - feel free to close this. Confirm this is not a bug, as i was successfully able to use distrobox-assemble as instructed via OP with distrobox 1.5.
See below:
Unless OP @DonaldKellett rules out the older bash version - and still doesn't work - consider opening new bug.
@profetik-777 Thanks for testing the provided example. May I ask which distribution and Bash version is in use?
I might give it another try on both deepin 23 Beta and another distribution with a newer Bash version, e.g. Fedora 38, to confirm whether the outdated Bash version is indeed the culprit. If so, I would recommend stating the minimal supported Bash version for distrobox-assemble
1.5.0 so users know what to expect
ping @BLumia
Indeed, the example fails to parse with Bash 5.1.8:
But works as intended with Bash 5.2.15:
Would it be safe to say that distrobox-assemble
1.5.0 requires Bash >= 5.2.0?
Describe the bug
The "Advanced example" shown in
man 1 distrobox-assemble
fails to parse as of Distrobox 1.5.0To Reproduce
Save the following content to
$HOME/distrobox.ini
:Now run:
Expected behavior
The container is created and works as intended
Logs
Output of
distrobox assemble --verbose create
:Desktop (please complete the following information):
Additional context
wget -qO - https://raw.githubusercontent.com/89luca89/distrobox/1.5.0/install | sh