[x] I have looked at the list of the existing issues (including closed issues) and searched if my issue has been already reported
[x] I have tried to resolve the issue myself and will describe what I did in clear and concise manner
Describe the bug
Installation of nginx-extras on a new Ubuntu 24.04 LTS image fails with message:
# apt install -y nginx-extras
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
libnginx-mod-http-lua : Depends: libluajit-5.1-2 (>= 2.1-20220411) but it is not installable or
libluajit-5.1-2 (>= 2.1.0~beta3) but it is not installable
E: Unable to correct problems, you have held broken packages.
Your understanding of what is happening
Unmet dependency issue is preventing nginx-extras from installing.
What steps did you take to resolve issue yourself before reporting it here
Describe how did you try to resolve the issue yourself. This is closely connected to the previous question.
Expected behavior
Installation of nginx-extras should complete without issues.
Distribution (please complete the following information):
OS: Ubuntu 24.04 LTS
Architecture: amd64
Repository: packages.sury.org
Package(s) (please complete the following information):
Output of apt-cache policy nginx-extras:
Frequently asked questions
Describe the bug Installation of nginx-extras on a new Ubuntu 24.04 LTS image fails with message:
To Reproduce Steps to reproduce the behavior:
Your understanding of what is happening Unmet dependency issue is preventing nginx-extras from installing.
What steps did you take to resolve issue yourself before reporting it here Describe how did you try to resolve the issue yourself. This is closely connected to the previous question.
Expected behavior Installation of nginx-extras should complete without issues.
Distribution (please complete the following information):
Package(s) (please complete the following information): Output of
apt-cache policy nginx-extras
:Additional context Add any other context about the problem here.