Bug 5994 - simplify library installation on RPM systems
: simplify library installation on RPM systems
Status: CLOSED DUPLICATE of bug 5828
: ThinLinc
Server Installer
: 1.3.1
: PC Unknown
: P2 Normal
: 4.7.0
Assigned To:
  Show dependency treegraph
Reported: 2016-09-16 14:00 by
Modified: 2016-09-20 11:18 (History)
Acceptance Criteria:



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

Description From cendio 2016-09-16 14:00:26
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 From cendio 2016-09-20 10:37:27 -------
We'll do this now. Mark this bug as duplicate of the LSB bug.
------- Comment #2 From cendio 2016-09-20 11:17:55 -------

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