SUMMARY Recommended KDE neon to a user. They reported this error during installation! Main script file /usr/share/calamares/modules/neon-fs-cleanup/main.py for python job neon-fs-cleanup raised an exception. OBSERVED RESULT Installation doesn't work EXPECTED RESULT Installation works
I am seeing this using the current ISO - neon-user-20250202-0745. The installation does boot and run normally, however.
Created attachment 177984 [details] calamares session log
I have attached the calamares session log from an offline install which produced the error' The relevant section: ``` [PYTHON JOB]: "Pretty name: Install packages., setting progress.." 19:12:28 [6]: virtual void Calamares::JobThread::run() Starting job "neon-fs-cleanup" ( 37 / 39 ) .. Running QList("apt-get", "--purge", "-q", "-y", "remove", "jfsutils", "reiserfsprogs", "xfsprogs") .. Target cmd: QList("apt-get", "--purge", "-q", "-y", "remove", "jfsutils", "reiserfsprogs", "xfsprogs") Exit code: 100 output: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package jfsutils 19:12:29 [1]: virtual Calamares::JobResult Calamares::Python::Job::exec() ERROR: Error while running: CalledProcessError: Command 'apt-get --purge -q -y remove jfsutils reiserfsprogs xfsprogs' returned non-zero exit status 100. At: <string>(8): <module> /usr/share/calamares/modules/neon-fs-cleanup/main.py(31): run 19:12:29 [6]: virtual void Calamares::JobThread::run() Skipping non-emergency job "Running shell processes…" .. Skipping non-emergency job "Unmounting file systems…" 19:12:29 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&) ERROR: Installation failed: "Bad main script file" .. - message: "Bad main script file" .. - details: Main script file /usr/share/calamares/modules/neon-fs-cleanup/main.py for python job neon-fs-cleanup raised an exception. ```
Git commit 004495653a5dc165f03c86afda574abb3e9d1b27 by Carlos De Maine. Committed on 13/02/2025 at 01:58. Pushed by carlosdem into branch 'Neon/release'. it's btrfs-progs nowadays M +1 -1 desktop/usr/share/calamares/modules/neon-fs-cleanup/main.py https://invent.kde.org/neon/neon/calamares-settings/-/commit/004495653a5dc165f03c86afda574abb3e9d1b27
the non-existent package was tripping up apt-get when in offline mode, tested that is now not the case. will filter out to the world in the next iso's published
This is happening again in the current image, neon-user-20250406-0747.iso.
can confirm. investigating....
jfsutils was being removed in a previous step as a dep of neon-live, so remove it from the filesystem cleanup script. https://invent.kde.org/neon/neon/calamares-settings/-/commit/1b9c737781c9036e5cece6d7e159642f65e888bb