Bug 497357 - Neon installation fails
Summary: Neon installation fails
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 10:28 UTC by Waqar Ahmed
Modified: 2025-02-13 10:11 UTC (History)
4 users (show)

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


Attachments
calamares session log (80.25 KB, text/x-log)
2025-02-05 11:11 UTC, Clay Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Waqar Ahmed 2024-12-12 10:28:56 UTC
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
Comment 1 Clay Weber 2025-02-05 02:16:08 UTC
I am seeing this using the current ISO - neon-user-20250202-0745.
The installation does boot and run normally, however.
Comment 2 Clay Weber 2025-02-05 11:11:27 UTC
Created attachment 177984 [details]
calamares session log
Comment 3 Clay Weber 2025-02-05 11:15:03 UTC
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.

```
Comment 4 Carlos De Maine 2025-02-13 01:58:41 UTC
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
Comment 5 Carlos De Maine 2025-02-13 10:11:57 UTC
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