Skip to content

PHP-FPM oerdnj nginx repos have been removed #2906

Closed

Description

Bug Report

  • At what date and time did you most recently experience the problem?

Apr 27th 2026, starting at 10:30am Chicago time.

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.

Azure Web Apps, PHP 8.3 platform with a custom startup.sh script.

  • What happened?

Our custom startup.sh script installs some nginx modules. These failed because the https://packages.sury.org/nginx/ repo in /etc/apt/sources.lists.d/nginx.list was giving a 404 error. Investigating, this is because the maintainer has deleted the repo on Apr 26th.

  • What did you expect or want to happen?

The nginx module we wanted would be installed.

  • How can we reproduce it?

Use a custom startup.sh script such as:

set -e

apt update
apt install -y --no-install-recommends libnginx-mod-http-lua

This will show a 404 error and failure at the apt update step because of the bad repo in /etc/apt/sources.lists.d/nginx.list. It gets added to the runtime here:

RUN curl -sSL https://packages.sury.org/nginx/README.txt | bash -x

On the latest PHP 8.5 platform it is also broken as that repo was also deleted. It is added to the runtime here:

# Install NGINX latest stable version using Ondřej Surý's PPA for Ubuntu

Activity

  1. surenderssm commented on Apr 28, 2026

    @surenderssm
    Member

    Thank you Stephen J. Butler (@sbutler) for reporting this issue, we are actively working on this!

  2. surenderssm commented on Apr 30, 2026

    @surenderssm
    Member

    Platform has been updated with the fix, Thank you for reporting!

  3. sbutler commented on Apr 30, 2026

    @sbutler
    Author

    Hello, this issue is not fixed. I can see you removed the problem repo from apt but you kept the packages installed from that repo. That is causing any new packages that depend on nginx to have unresolved dependencies:

    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: libnginx-mod-http-ndk but it is not going to be installed
                             Depends: nginx-abi-1.22.1-7
    E: Unable to correct problems, you have held broken packages.
    

    To fully fix this you need to downgrade the nginx packages to the versions supplied by debian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions