litespeedtech / litespeedtech/openlitespeed

OpenLiteSpeed packages without the required dependency of php

Open
#170 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.5k
Forks
233
Avg merge
2d 19h
Merged PRs (30d)
5

Description

OpenLiteSpeed should be able to be installed from the repo without forcing the user to install php7.3 (lsphp73) ,ie. what if one wants to use php74 or does not want php at all (ie running lua or python)?

root@c968a7226a41:/# apt-install openlitespeed lsphp73-
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                              
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                      
Ign:4 http://rpms.litespeedtech.com/debian bionic InRelease                                                         
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:6 http://rpms.litespeedtech.com/debian bionic Release
Fetched 163 kB in 1s (118 kB/s)                               
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'lsphp73' is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openlitespeed : Depends: lsphp73 but it is not going to be installed
                 Depends: lsphp73-json but it is not going to be installed
                 Depends: lsphp73-mysql but it is not going to be installed
                 Depends: lsphp73-imap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@c968a7226a41:/# apt-install openlitespeed         
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                             
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                     
Ign:4 http://rpms.litespeedtech.com/debian bionic InRelease                        
Hit:5 http://rpms.litespeedtech.com/debian bionic Release                
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 163 kB in 1s (127 kB/s)                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libc-client2007e lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache mlock rcs
Suggested packages:
  uw-mailutils php-pear php-user-cache
The following NEW packages will be installed:
  libc-client2007e lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache mlock openlitespeed rcs
0 upgraded, 10 newly installed, 0 to remove and 24 not upgraded.
Need to get 17.8 MB of archives.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the OpenLiteSpeed package dependency metadata and reproducing the documented apt installation commands on Ubuntu Bionic. Trace why lsphp73, lsphp73-json, lsphp73-mysql, and lsphp73-imap are mandatory, then verify that installation can use another PHP version or no PHP runtime when appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, php, ubuntu
Domain
devops, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.