Bug 482283 - Installation in VM gives an error: "Bad main script file"
Summary: Installation in VM gives an error: "Bad main script file"
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Live/Install images (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
: 482325 482348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-03 10:03 UTC by Jos van den Oever
Modified: 2024-03-05 19:28 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
installation failed from ISO (84.01 KB, image/jpeg)
2024-03-03 12:56 UTC, Sharath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jos van den Oever 2024-03-03 10:03:07 UTC
SUMMARY

Running neon-user-20240303-0009.iso in a QEmu VM on a x86_64 laptop fails during installation.


STEPS TO REPRODUCE
1. download neon-user-20240303-0009.iso from neon.kde.org
2. boot the iso in a vm
3. start "Install system"
4 choose timezone Amsterdam, English language, Dutch locale
5. choose to erase the entire disk (55GB)
6. continue to the installation and show the logs
6.1 disk is being partitioned
6.2 rsync is run to copy files

OBSERVED RESULT

A dialog pops up: "Main script file /usr/lib/x86_64-linux-gnu/calamares/modules/networkcfg/main.py for python job networkcfg raised an exception.

The network in the VM is a wired connection. Browsing the web with Firefox works from the live image.

EXPECTED RESULT

The installation of KDE Neon completes.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Jos van den Oever 2024-03-03 10:07:14 UTC
In /tmp there are a number of calamares-* diretories. All of them are empty. Only one is very large: calamares-root-*. No log could be found.
Comment 2 Sharath 2024-03-03 12:56:23 UTC
Created attachment 166352 [details]
installation failed from ISO

Hi admin, 

Just adding the screenshot for the same bug

Thanks and Regards,
Sharathchandra
Comment 3 Jos van den Oever 2024-03-03 17:06:31 UTC
I confirm that my error looked that same as in Sharath's screenshot.
Comment 4 Carlos De Maine 2024-03-03 23:51:04 UTC
this is fixed in calamares 3.3.5 release an hour ago.  the package has been built and is in release.  it needs promotion to user edition and a new iso built.
Comment 5 Doug 2024-03-04 05:28:34 UTC
*** Bug 482348 has been marked as a duplicate of this bug. ***
Comment 6 Doug 2024-03-04 05:29:10 UTC
*** Bug 482325 has been marked as a duplicate of this bug. ***
Comment 7 Fabiano 2024-03-05 11:25:01 UTC
Hi, I had this same bug and it was solved for me using the latest version
neon-user-20240304-2101.iso
Comment 8 Jos van den Oever 2024-03-05 19:28:24 UTC
I confirm that installation with neon-user-20240304-2101.iso works without issue. The installer finishes and boots into Plasma 6.