Bug 463881 - Can't install Neon Mobile iso
Summary: Can't install Neon Mobile iso
Status: CONFIRMED
Alias: None
Product: neon
Classification: KDE Neon
Component: Live/Install images (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL: https://files.kde.org/neon/images/mob...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-05 14:41 UTC by Gio
Modified: 2023-01-25 03:23 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gio 2023-01-05 14:41:57 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. On the Juno Tablet, we had to customize the iso and upgrade the kernel to 6.0 in order to boot (linux-oem-22.04b)
2. Calamares launches fine and runs the installation process
3. After restarting, the installer did not write anything to /dev/sda

ADDITIONAL INFORMATION
We have formated the drive before installing to avoid any writing issues, but it made no difference

Tested on neon-mobile-20230101-0027.iso

https://files.kde.org/neon/images/mobile/current/
Comment 1 Jonathan Riddell 2023-01-09 10:52:35 UTC
Sorry about this it's not often tested, I think it tries to use the OEM installer but isn't set up for it.  I'll try to find time to switch it over to the normal install setup.
Comment 2 Jonathan Riddell 2023-01-12 19:25:44 UTC
OK this should be working now
https://files.kde.org/neon/images/mobile
I turned it from an OEM (preinstalled) image to a normal install.
You will need to set a password which is four numbers "1234" to unlock.  You will need to select Automatic login at install time.

We don't currently have anyone actively working on mobile in neon unfortunately, but if (and when) you find problems do give me a ping and I can have a look.  Probably best on the neon mailing list or Matrix room.
Comment 3 Gio 2023-01-12 20:33:06 UTC
(In reply to Jonathan Riddell from comment #2)
> OK this should be working now
> https://files.kde.org/neon/images/mobile
> I turned it from an OEM (preinstalled) image to a normal install.
> You will need to set a password which is four numbers "1234" to unlock.  You
> will need to select Automatic login at install time.
> 
> We don't currently have anyone actively working on mobile in neon
> unfortunately, but if (and when) you find problems do give me a ping and I
> can have a look.  Probably best on the neon mailing list or Matrix room.

Ok, that worked.

There are a few issues now with the installation but is some progress.

Wifi is missing from Plasma-mobile-settings. There is no way to conenct to the wifi.

Also, konsole needs to be removed. Only qmlkonsole is needed.
Comment 4 Jonathan Riddell 2023-01-17 10:36:08 UTC
Today's build should have no Konsole and have wifi settings added
Comment 5 Gio 2023-01-18 16:13:54 UTC
The last build is from the 16th still has konsole and tilix but wifi works
Comment 6 Jonathan Riddell 2023-01-18 16:38:21 UTC
I guess something else is pulling in Konsole, it might need some additional build hook to remove it.  Is this a problem for now (I need to prioritise my time etc).
Comment 7 Gio 2023-01-19 13:35:10 UTC
I forgot to mention, maliit-keyboard needs to be preinstalled as well. I guess this should be a dependency of plasma-mobile.
Comment 8 Jonathan Riddell 2023-01-24 13:22:46 UTC
How important is this to you?  (I need to prioritise my time)
Comment 9 Carlos De Maine 2023-01-25 03:23:08 UTC
Hi Gio

The jenkins neon-mobile-iso  page is https://build.neon.kde.org/view/iso/job/iso_neon_jammy_mobile_amd64/
The latest jenkins build with console output page  is https://build.neon.kde.org/view/iso/job/iso_neon_jammy_mobile_amd64/lastBuild/consoleFull

A search for konsole shows that ;
10:57:24     Installing konsole:amd64 as Recommends of calamares:amd64
10:57:24       Installing konsole-kpart:amd64 as Depends of konsole:amd64

It seems konsole is a recommends from Calamares where they use the kpart for their terminal module
https://github.com/calamares/calamares/blob/calamares/src/modules/interactiveterminal/CMakeLists.txt 
Not much we can do besides rewriting the module to use qml-module-qmltermwidget ;)

Tilix is pulled in as a recommends of libfile-desktop-entry-perl as a result of dependency chain that goes through xdg-utils, vlc-plugins-base, phonon4qt5-backend-vlc, phonon4qt5, kio-extras all way up to plasma-phone.

Installing tilix:amd64 as Recommends of libfile-desktopentry-perl:amd64

Looking at the control file of libfile-desktopentry-perl
https://packages.debian.org/sid/libfile-desktopentry-perl
we can see they actually recommend x-terminal-emulator 

i added that to qmlkonsole by coying from konsole
https://invent.kde.org/neon/kde/konsole/-/tree/Neon/unstable/debian
https://invent.kde.org/neon/mobile/qmlkonsole/-/commits/Neon/unstable

Now we have a tilix free iso!
12:54:05                 Installing qmlkonsole:amd64 as Recommends of libfile-desktopentry-perl:amd64
https://files.kde.org/neon/images/mobile/current/

https://invent.kde.org/neon/mobile/plasma-phone-meta/-/blob/Neon/unstable/phone-amd64 is where the neon-mobile-iso required dependencies are listed!

If you do have an itch to scratch feel free to look around the links above. ;]