nginx/docker-nginx

nginx-extras unmet dependecies after 24th April nging upgrade

Closed this issue · 1 comments

Describe the bug

we are expereiencing dependencies installation after 24th April nginx upgrade

To reproduce

Steps to reproduce the behavior:

FROM nginx:stable
RUN apt-get update && apt-get install -y nginx-extras

Getting below error

The following packages have unmet dependencies:
 nginx-extras : Depends: nginx (= 1.22.1-9) but 1.26.0-1~bookworm is to be installed
                Depends: libnginx-mod-http-geoip (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-image-filter (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-perl (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-xslt-filter (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-mail (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-stream (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-stream-geoip (= 1.22.1-9) but it is not going to be installed
                Depends: libnginx-mod-http-auth-pam (>= 1:1.5.3-3~) but it is not going to be installed
                Depends: libnginx-mod-http-cache-purge (>= 1:2.3-4~) but it is not going to be installed
                Depends: libnginx-mod-http-dav-ext (>= 1:3.0.0-3~) but it is not going to be installed
                Depends: libnginx-mod-http-echo (>= 1:0.63-4~) but it is not going to be installed
                Depends: libnginx-mod-http-fancyindex (>= 1:0.5.2-3~) but it is not going to be installed
                Depends: libnginx-mod-http-geoip2 (>= 1:3.4-3~) but it is not going to be installed
                Depends: libnginx-mod-http-headers-more-filter (>= 1:0.34-3~) but it is not going to be installed
                Depends: libnginx-mod-http-lua (>= 1:0.10.23-1~) but it is not going to be installed
                Depends: libnginx-mod-http-subs-filter (>= 1:0.6.4-4~) but it is not going to be installed
                Depends: libnginx-mod-http-uploadprogress (>= 1:0.9.2-3~) but it is not going to be installed
                Depends: libnginx-mod-http-upstream-fair (>= 1:0.0~git20120408.a18b409-3~) but it is not going to be installed
                Depends: libnginx-mod-nchan (>= 1:1.3.6+dfsg-2~) but it is not going to be installed
                Depends: libnginx-mod-stream-geoip2 (>= 1:3.4-3~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

we then move to FROM nginx:1.24.0 and it worked. But it's a good solution, waiting a better solutions/recommendations

Hi @priyabratap,

nginx-extras from Debian is not something we support with this image - we use binaries from nginx.org. If you need to use nginx-extras I suggest you create your own image instead.