Problem Description:
After viewing Lubuntu on old laptop (AMD Dual Core), it looks great!
I started installation. After 45% message Installation failed with message:
Failed to join realm: env: ‘realm’: No such file or directory env: use -[v]S to pass options in shebang lines
What went wrong?
Possibly connected to Use Active Directory checkbox in the Create Your Account page of the installer.
Was the box ticked (either deliberately or accidentally)?
I’d try the installer again and avoid ticking this box.
@rubi1200 I used BalenaEtcher with integrity check @tea-for-one Indeed I ticked the Use Active Directory box deliberately in order to connect to the rest of my network. I will do it again without ticking that box. But can I add Use Active Directory in later stage after installation?
Thanks for your answer!
That looks like an oopsy of some script author. There is a script in some code path of the installer, and it has something like this on the very first line:
#!/usr/bin/env <interpreter> <argument> ...
when it should be:
#!/usr/bin/env -S <interpreter> <argument> ...
This could be the other piece of the puzzle. If you can confirm that @ktd54, please file a bug report against the Lubuntu installer. (Update: see below for confirmation)
Hello, installation completed! @tea-for-one Thanks to put it in the right direction! @peterwhite23 The parts can be connected. I am 72, so ‘certified Grandpa’, but complete newbee in this field. Can I leave the bug reporting to you? Thanks for the help
If someone else files the bug report, there will be far more limited detail about the actual install for it to be understood and thus problem found & fixes to accurately be made.
For best results, the bug should be filed on the actual hardware that encountered the problem, such that details from that box, including ISO, your disks, your network are included. To file a report you just type
ubuntu-bug calamares
By doing it on your actual hardware, details about that hardware, your install media are actually included in the report, correctly populated for easy reading too.