oerdnj / deb.sury.org

Public bugreports for anything ppa:ondrej/*
800 stars 26 forks source link

Unmet dependency prevents installation of nginx-extras #2132

Closed comanche closed 1 month ago

comanche commented 1 month ago

Frequently asked questions

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.

To Reproduce Steps to reproduce the behavior:

  1. Create new instance of Ubuntu 24.04 LTS
  2. Login and install nginx
sudo add-apt-repository ppa:ondrej/nginx-mainline
sudo apt update
sudo apt install -y nginx
  1. Install nginx-extras
sudo apt install -y nginx-extras
  1. See unmet dependencies message as described above

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:

nginx-extras:
  Installed: (none)
  Candidate: 1.25.5-2+ubuntu24.04.1+deb.sury.org+1
  Version table:
     1.25.5-2+ubuntu24.04.1+deb.sury.org+1 500
        500 https://ppa.launchpadcontent.net/ondrej/nginx-mainline/ubuntu noble/main amd64 Packages
     1.24.0-2ubuntu7 500
        500 http://mirrors.digitalocean.com/ubuntu noble/universe amd64 Packages

Additional context Add any other context about the problem here.

oerdnj commented 1 month ago

https://github.com/oerdnj/deb.sury.org/issues/2127