Centos9 - Unable to install openlitespeed from repo

Eli

New Member
#1
Hello,

I can't install openlitespeed from the repository. Broken dependencies

Code:
# yum install openlitespeed
Last metadata expiration check: 0:09:01 ago on Wed 27 Dec 2023 06:49:59 PM CET.
Error:
 Problem: package openlitespeed-1.7.18-2.el9.x86_64 from litespeed-update requires lsphp74-mbstring, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libonig.so.105()(64bit) needed by lsphp74-mbstring-7.4.32-2.el9.x86_64 from litespeed-update
  - nothing provides libonig.so.105()(64bit) needed by lsphp74-mbstring-7.4.33-2.el9.x86_64 from litespeed-update
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Code:
# yum repolist
repo id                                                                           repo name
appstream                                                                         CentOS Stream 9 - AppStream
baseos                                                                            CentOS Stream 9 - BaseOS
crb                                                                               CentOS Stream 9 - CRB
epel                                                                              Extra Packages for Enterprise Linux 9 - x86_64
epel-cisco-openh264                                                               Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64
epel-next                                                                         Extra Packages for Enterprise Linux 9 - Next - x86_64
extras-common                                                                     CentOS Stream 9 - Extras packages
litespeed                                                                         LiteSpeed Tech Repository for CentOS 9 - x86_64
litespeed-update                                                                  LiteSpeed Tech Update Repository for CentOS 9 - x86_64
I need to install the remi-repo, I guess that's not how it's supposed to be.
 

Cold-Egg

Administrator
#2
The remi repo is required for CentOS9, the following script should take care of it, may I know if you have run the command to install litespeed repo and dependencies?
Code:
sudo wget -O - https://repo.litespeed.sh | sudo bash
 

Eli

New Member
#3
The remi repo is required for CentOS9, the following script should take care of it, may I know if you have run the command to install litespeed repo and dependencies?
Code:
sudo wget -O - https://repo.litespeed.sh | sudo bash
I didn't use a script. I added the repo manually as recommended on the website.
https://openlitespeed.org/kb/install-ols-from-litespeed-repositories/#Add_the_Repository

Code:
CentOS 9:

rpm -Uvh http://rpms.litespeedtech.com/centos/litespeed.repo
Of course for Centos 9 it is wrong, it should be:
Code:
curl -s -o /etc/yum.repos.d/litespeed.repo http://rpms.litespeedtech.com/centos/litespeed.repo
Here:
https://openlitespeed.org/kb/install-ols-from-litespeed-repositories/#Install_OpenLiteSpeed
there is no information about remi-repo, it should be added.
 

Cold-Egg

Administrator
#4
I see, we didn't mention it because it has already been included in the script. Please try to use the script method, it will be easier. Maybe we can consider removing those manually specified methods in the future.

Add the Repository
Use the following commands to add our CentOS/AlmaLinux/RockyLinux repositories:

Code:
sudo wget -O - https://repo.litespeed.sh | sudo bash
 
Top