libnginx-mod-http-lua package is not available

Asked by Rafael Leira Osuna

I'm testing my network stack on the new Jammy/Ubuntu 22.04 version.

However, it seems that module libnginx-mod-http-lua is not available ( https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=libnginx-mod-http-lua ) and it breaks some parts of our websites.

I've been checking on askubuntu and it seems here is the place to ask to reinclude it on the new jammy release.

Some people suggested to mention that debian keeps the packet alive: https://packages.debian.org/unstable/libnginx-mod-http-lua . I don't know if it would help or not.

I would like to know if there is any reason to not include the package (and begin a migration to something else) or if it has been simply forgotten for some reason.

In any case, thank you in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nginx Edit question
Assignee:
No assignee Edit question
Solved by:
Rafael Leira Osuna
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Excerpt from the change log https://launchpad.net/ubuntu/+source/nginx/+changelog

nginx (1.18.0-6ubuntu5) hirsute; urgency=medium
...
  * Remove the Lua modules from NGINX (Server Team Decision) - future support
    for Lua module now requires resty-core from OpenResty, meaning that if
    we want to continue to support the Lua module, we have to start becoming
    OpenResty - users should just use OpenResty at this point for Lua.
    Changes made for this removal:
     - d/control:
       - Remove lua module from dependencies, and binary build item.
       - Add "Breaks" line for nginx-lua for older versions of NGINX.
         This is added to the nginx metapackage and nginx-extras.
...

Revision history for this message
Rafael Leira Osuna (ralequi) said :
#2

Thank you Manfred.

That was not the expected answer but now I know what we've to do.

Thanks a lot. Have a nice day.

Revision history for this message
root (mysky) said :
#3

There is a stable version with Ondrej PPA

https://launchpad.net/%7Eondrej/+archive/ubuntu/nginx

sudo add-apt-repository ppa:ondrej/nginx
sudo apt update
apt install libnginx-mod-http-lua

Revision history for this message
Thomas Ward (teward) said :
#4

mysky:

Note that this will install NGINX *fully* from that PPA, it will lose Ubuntu updates and such and is entirely dependent on Ondrej continuing to provide updates.