Bug 5994 - simplify library installation on RPM systems
Summary: simplify library installation on RPM systems
Status: CLOSED DUPLICATE of bug 5828
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.7.0
Assignee: Henrik Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-16 14:00 CEST by Pierre Ossman
Modified: 2016-09-20 11:18 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2016-09-16 14:00:26 CEST
We can greatly simplify the library installation in tl-setup on RPM based systems by exploiting the fact that the library names are added as Provide:s in the RPMs.

E.g. to make sure libncurses.so.5 is installed, we would look for the package providing "libncurses.so.5". Right now we have to hard code the containing package, which varies between versions.

One gotcha though is that on x86_64 the libraries have the suffix "()(64bit)", but that should be easy enough to automatically handle. It also helps when implementing bug 5993.

Also note that zypper isn't as convenient as yum/dnf when it comes to this. For yum/dnf you can just do "yum install libncurses.so.5". For zypper you have to run what-provides to figure out the package name first. tl-setup already works this way though.
Comment 1 Pierre Ossman cendio 2016-09-20 10:37:27 CEST
We'll do this now. Mark this bug as duplicate of the LSB bug.
Comment 2 Peter Åstrand cendio 2016-09-20 11:17:55 CEST

*** This bug has been marked as a duplicate of bug 5828 ***

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