Bug 7748 - tl-setup does not automatically install dependencies on openSUSE Leap
Summary: tl-setup does not automatically install dependencies on openSUSE Leap
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-16 16:29 CEST by William Sjöblom
Modified: 2023-12-29 15:29 CET (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description William Sjöblom cendio 2021-08-16 16:29:36 CEST
As of now, tl-setup does not automatically install dependencies on openSUSE
Leap. 

We should consider a fix for this since it improves the initial user experience
of the product and that the packages available on Leap is a superset of those
available on SLES (which we currently support) [1], making it an easy
change. Thus, supporting Leap is likely just a matter of detecting it as being
in the `SLES` distribution family (similar to how we detect CentOS as being in
the `RHEL` distribution family). They also follow the same major version
numbering scheme.

[1] https://forums.opensuse.org/showthread.php/533746-What-s-the-relationship-between-SUSE-and-openSUSE?p=2885376#post2885376
Comment 1 Samuel Mannehed cendio 2021-08-20 16:00:03 CEST
python3-ldap is actually installed automatically even on openSUSE 15 leap.

But our required libs and binaries are not. GTK+ and PyGObject are also not installed automatically.
Comment 2 Samuel Mannehed cendio 2021-08-20 16:36:51 CEST
The GTK+ and PyGObject packages that contain what we need on openSUSE 15 leap are:

 python3-gobject-Gdk typelib-1_0-Gtk-3_0

Seeing as those are not obvious, a PSN was added for that:

https://www.cendio.com/thinlinc/docs/platforms/suse
Comment 4 Adam Halim cendio 2023-12-29 15:29:30 CET
I ran into this issue on SLES12 where I got an error when attempting to install the Python LDAP module, with the following in /var/log/tlsetup.log
> 2023-12-29 14:42:51,433: Verifying package name python3-ldap
> 2023-12-29 14:42:51,434: Unlocking zypper...
> 2023-12-29 14:42:51,434: Removed zypper lock
> 2023-12-29 14:42:52,319: INFO zypper: Refreshing service 'SUSE_Linux_Enterprise_Server_12_SP5_x86_64'.
> 2023-12-29 14:42:52,319: INFO zypper: Loading repository data...
> 2023-12-29 14:42:52,319: INFO zypper: Reading installed packages...
> 2023-12-29 14:42:52,319: INFO zypper: No matching items found.
> 2023-12-29 14:42:52,319: Creating zypper lock...
> 2023-12-29 14:42:52,319: Locked zypper
> 2023-12-29 14:42:52,319: No package found providing python3-ldap
In text mode, I could just continue with the installation, but in graphical mode, the "Forward" button was greyed out. I could still progress with the installation by pressing "Back" and unticking "Automatically install the necessary packages"

Note You need to log in before you can comment on or make changes to this bug.