oerdnj / deb.sury.org

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

libnginx-mod-http-lua at 1.24 ABI after nginx 1.26 update #2142

Closed todeveni closed 3 weeks ago

todeveni commented 3 weeks ago

Frequently asked questions

Describe the bug libnginx-mod-http-lua is still at ABI 1.24 after nginx upgrade to 1.26 (on Debian).

To Reproduce apt update && apt install libnginx-mod-http-lua

Your understanding of what is happening libnginx-mod-http-lua didn't get issued a rebuild and/or failed to build after nginx 1.26 got built. With Jenkins gone, not being able to check if it's still in the queue 🙂

What steps did you take to resolve issue yourself before reporting it here Looked at the package versions and made sure that our internal mirror is up to date.

Expected behavior All packages upgraded nicely.

Distribution (please complete the following information):

Package(s) (please complete the following information):

$ apt upgrade
The following packages were automatically installed and are no longer required:
  libnginx-mod-http-ndk lua-resty-lrucache
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libnginx-mod-http-lua lua-resty-core
The following packages will be upgraded:
  libnginx-mod-http-brotli-filter libnginx-mod-http-cache-purge libnginx-mod-http-geoip libnginx-mod-http-image-filter
  libnginx-mod-http-ndk libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip
  nginx nginx-common nginx-core
$ apt install libnginx-mod-http-lua
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: nginx-abi-1.24.0-1 but it is not installable
E: Unable to correct problems, you have held broken packages.
$ apt-cache policy libnginx-mod-http-lua
libnginx-mod-http-lua:
  Installed: (none)
  Candidate: 1:0.10.26+1.24.0-2+0~20240418.6+debian12~1.gbpb6cd61
  Version table:
     1:0.10.26+1.24.0-2+0~20240418.6+debian12~1.gbpb6cd61 500
        500 https://mirror.internal/repos/nginx bookworm/main amd64 Packages
        100 /var/lib/dpkg/status
     1:0.10.23-1 500
        500 https://www.nic.funet.fi/debian bookworm/main amd64 Packages

Additional context We're using internal mirror of packages.sury.org for our server farm, which shouldn't matter.

oerdnj commented 3 weeks ago

Thanks. I was checking those, but somehow I missed this.

oerdnj commented 3 weeks ago

It is building now.

todeveni commented 3 weeks ago

Package updated, installed and upgrades are working. Thanks for quick turnaround.

oerdnj commented 3 weeks ago

@todeveni And the update went fine? There were many reports that the nginx restarted in the middle of unpacking with some modules updated and some not breaking the upgrade.

todeveni commented 3 weeks ago

@todeveni And the update went fine? There were many reports that the nginx restarted in the middle of unpacking with some modules updated and some not breaking the upgrade.

No problems during automated upgrade. Our pretty simple server setup have the following packages installed and I just upgraded all of our servers successfully.

ii  libnginx-mod-http-brotli-filter    1:1.0.0~rc+1.26.1-9+0~20240604.11+debian12~1.gbp35d06f      amd64        Brotli lossless compression support for Nginx - filter
ii  libnginx-mod-http-cache-purge      1:2.3+1.26.1-7~20240604.2+debian12                          amd64        Purge content from Nginx caches
ii  libnginx-mod-http-geoip            1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        GeoIP HTTP module for Nginx
ii  libnginx-mod-http-image-filter     1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        HTTP image filter module for Nginx
ii  libnginx-mod-http-lua              1:0.10.26+1.26.1-2+0~20240605.7+debian12~1.gbpb6cd61        amd64        Lua module for Nginx
ii  libnginx-mod-http-ndk              1:0.3.3+1.26.1-1+0~20240604.2+debian12~1.gbp4eef54          amd64        Nginx Development Kit module
ii  libnginx-mod-http-xslt-filter      1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        XSLT Transformation module for Nginx
ii  libnginx-mod-mail                  1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        Mail module for Nginx
ii  libnginx-mod-stream                1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        Stream module for Nginx
ii  libnginx-mod-stream-geoip          1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        GeoIP Stream module for Nginx
ii  nginx                              1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 amd64        small, powerful, scalable web/proxy server
ii  nginx-common                       1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 all          small, powerful, scalable web/proxy server - common files
ii  nginx-core                         1.26.1-1+0~20240604.35+debian12~1.gbpca5abe                 all          nginx web/proxy server (standard version)

Note to self: GeoIP isn't needed anymore 🙂

todeveni commented 3 weeks ago

On all servers only nginx packages were upgraded and nginx reload was the very last step on upgrade.

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  libnginx-mod-http-brotli-filter libnginx-mod-http-cache-purge
  libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-lua
  libnginx-mod-http-ndk libnginx-mod-http-xslt-filter libnginx-mod-mail
  libnginx-mod-stream libnginx-mod-stream-geoip nginx nginx-common nginx-core
13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,623 kB of archives.
After this operation, 219 kB of additional disk space will be used.
Get:1 https://mirror.internal/repos/nginx bookworm/main amd64 nginx-common all 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [112 kB]
Get:2 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-brotli-filter amd64 1:1.0.0~rc+1.26.1-9+0~20240604.11+debian12~1.gbp35d06f [9,176 B]
Get:3 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-stream-geoip amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [87.1 kB]
Get:4 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-stream amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [151 kB]
Get:5 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-mail amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [122 kB]
Get:6 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-xslt-filter amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [90.0 kB]
Get:7 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-ndk amd64 1:0.3.3+1.26.1-1+0~20240604.2+debian12~1.gbp4eef54 [9,944 B]
Get:8 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-lua amd64 1:0.10.26+1.26.1-2+0~20240605.7+debian12~1.gbpb6cd61 [160 kB]
Get:9 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-image-filter amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [91.5 kB]
Get:10 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-cache-purge amd64 1:2.3+1.26.1-7~20240604.2+debian12 [10.6 kB]
Get:11 https://mirror.internal/repos/nginx bookworm/main amd64 nginx-core all 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [83.2 kB]
Get:12 https://mirror.internal/repos/nginx bookworm/main amd64 nginx amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [609 kB]
Get:13 https://mirror.internal/repos/nginx bookworm/main amd64 libnginx-mod-http-geoip amd64 1.26.1-1+0~20240604.35+debian12~1.gbpca5abe [87.9 kB]
apt-listchanges: Reading changelogs...
Preconfiguring packages ...
Fetched 1,623 kB in 0s (5,709 kB/s)
(Reading database ... 124610 files and directories currently installed.)
Preparing to unpack .../00-nginx-common_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_all.deb ...
Unpacking nginx-common (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../01-libnginx-mod-http-brotli-filter_1%3a1.0.0~rc+1.26.1-9+0~20240604.11+debian12~1.gbp35d06f_amd64.deb ...
Unpacking libnginx-mod-http-brotli-filter (1:1.0.0~rc+1.26.1-9+0~20240604.11+debian12~1.gbp35d06f) over (1:1.0.0~rc+1.24.0-8+0~20240321.10+debian12~1.gbpf34a5f) ...
Preparing to unpack .../02-libnginx-mod-stream-geoip_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking libnginx-mod-stream-geoip (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../03-libnginx-mod-stream_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking libnginx-mod-stream (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../04-libnginx-mod-mail_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking libnginx-mod-mail (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../05-libnginx-mod-http-xslt-filter_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../06-libnginx-mod-http-ndk_1%3a0.3.3+1.26.1-1+0~20240604.2+debian12~1.gbp4eef54_amd64.deb ...
Unpacking libnginx-mod-http-ndk (1:0.3.3+1.26.1-1+0~20240604.2+debian12~1.gbp4eef54) over (1:0.3.3+1.24.0-1+0~20240226.1+debian12~1.gbp4eef54) ...
Preparing to unpack .../07-libnginx-mod-http-lua_1%3a0.10.26+1.26.1-2+0~20240605.7+debian12~1.gbpb6cd61_amd64.deb ...
Unpacking libnginx-mod-http-lua (1:0.10.26+1.26.1-2+0~20240605.7+debian12~1.gbpb6cd61) over (1:0.10.26+1.24.0-2+0~20240418.6+debian12~1.gbpb6cd61) ...
Preparing to unpack .../08-libnginx-mod-http-image-filter_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking libnginx-mod-http-image-filter (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../09-libnginx-mod-http-cache-purge_1%3a2.3+1.26.1-7~20240604.2+debian12_amd64.deb ...
Unpacking libnginx-mod-http-cache-purge (1:2.3+1.26.1-7~20240604.2+debian12) over (1:2.3+1.24.0-7~20240226.1+debian12) ...
Preparing to unpack .../10-nginx-core_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_all.deb ...
Unpacking nginx-core (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../11-nginx_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking nginx (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Preparing to unpack .../12-libnginx-mod-http-geoip_1.26.1-1+0~20240604.35+debian12~1.gbpca5abe_amd64.deb ...
Unpacking libnginx-mod-http-geoip (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) over (1.24.0-4+0~20240320.34+debian12~1.gbp7180f0) ...
Setting up nginx (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Warning: The unit file, source configuration file or drop-ins of nginx.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Upgrading binary: nginx.
Setting up libnginx-mod-http-image-filter (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up libnginx-mod-stream (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up nginx-common (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up libnginx-mod-stream-geoip (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up libnginx-mod-http-xslt-filter (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up libnginx-mod-http-geoip (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up libnginx-mod-http-brotli-filter (1:1.0.0~rc+1.26.1-9+0~20240604.11+debian12~1.gbp35d06f) ...
Setting up libnginx-mod-http-ndk (1:0.3.3+1.26.1-1+0~20240604.2+debian12~1.gbp4eef54) ...
Setting up libnginx-mod-http-cache-purge (1:2.3+1.26.1-7~20240604.2+debian12) ...
Setting up libnginx-mod-http-lua (1:0.10.26+1.26.1-2+0~20240605.7+debian12~1.gbpb6cd61) ...
Setting up libnginx-mod-mail (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Setting up nginx-core (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Processing triggers for ufw (0.36.2-1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for nginx (1.26.1-1+0~20240604.35+debian12~1.gbpca5abe) ...
Triggering nginx reload ...