libnginx-mod-http-lua

Bug #1984120 reported by ronald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nginx
Invalid
Undecided
Unassigned

Bug Description

Install NGINX with lua support on Ubuntu 20.04 Focal produce this error:

The following packages have unmet dependencies:
 libnginx-mod-http-lua : Depends: libnginx-mod-http-ndk (= 1.18.0-0ubuntu1.3) but it is not going to be installed
                         Depends: nginx-common (= 1.18.0-0ubuntu1.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Please let me know if any efford can be expected to solve this

With regards,

GentleRRV

Revision history for this message
Thomas Ward (teward) wrote :

Did you upgrade from 18.04 or older to Ubuntu 20.04? Because there **is** no Lua module in 20.04.

Also, hi, Ronald, you're here from Ask Ubuntu aren't you? I assume you did NOT read my message in reply to your question.

https://askubuntu.com/questions/1422743/installing-nginx-with-lua-support

This was my answer:

Since Ubuntu 20.04, the Ubuntu Server Team made a decision to drop the Lua module due to several factors including:

 1. Outdated Lua library support
 2. No `liblua-dev` suport in later versions of the Lua module
 3. Additional modules were required for future updates of the Lua module.

As such, NGINX in the Ubuntu repositories does not have Lua support and **will not** have Lua support going forward.

If you intend to use Lua with NGINX in Ubuntu, you need to install the complete OpenResty stack of NGINX - see https://openresty.org/en/linux-packages.html#ubuntu for installation instructions. Note that the Lua module actually *originated* from the OpenResty 'flavor' of nginx.

-----------

This NGINX 'team' on Launchpad is not the team in charge of Ubuntu's nginx packages by the way. Closing as invalid for the NGINX Project as this is not an NGINX Project decision.

Changed in nginx:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.