Aborted installation Lubuntu 26.04 ('realm' error)

Ubuntu Support Template

Lubuntu Version:
26.04

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?

Welcome to Ubuntu Discourse :slight_smile:

When you downloaded the ISO, did you check the integrity?

How did you burn it to the USB stick, what software did you use?

The error message likely indicates a corrupted image.

1 Like

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.

2 Likes

@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!

Yes, it must be possible but it may be via the terminal.

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)

3 Likes

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

3 Likes

Great; or, not so great. :wink:

Would you mind marking my comment as the solution? That way I should be able to just point to it in the bug report.

1 Like

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.

Lubuntu docs on bug filing are found at https://git.lubuntu.me/lubuntu-wiki/wiki/wiki/Bugs

3 Likes

This topic was automatically closed 18 hours after the last reply. New replies are no longer allowed.