fix: nginx latest security fix crashes editors, reverting#133
Closed
rikled wants to merge 5 commits into
Closed
Conversation
Signed-off-by: Hendrik Leidinger <hendrik.leidinger@nextcloud.com>
The original broad snapshot pinning broke the .deb installation step because the DocumentServer package's dependencies could not be resolved against the frozen June 2 snapshot. Instead, install only nginx and nginx-extras from the snapshot, hold them to prevent upgrades, then remove the snapshot source so all other packages resolve from current repos. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The previous .list file only covered noble/main, missing noble-updates (where the nginx update lives) and universe (needed for nginx-extras). Switch to DEB822 .sources format covering all suites and components, and add --allow-downgrades to handle any priority conflicts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add the snapshot via sed to ubuntu.sources (Ubuntu's recommended method), install and hold the pinned nginx packages, then remove the Snapshot fields with a second sed pass so all subsequent apt operations use current repos. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…napshot) nginx and nginx-extras are already installed and held at 1.24.0-2ubuntu7.9 in the preceding step. Including them again in the main apt install causes a dependency conflict because libnginx-mod-* in current repos is at 7.10. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a security update for Nginx (https://launchpad.net/ubuntu/+source/nginx/1.24.0-2ubuntu7.10) appears to be breaking the editors in Ubuntu 24.04; Nginx is constantly crashing. Reverting back to with https://launchpad.net/ubuntu/+source/nginx/1.24.0-2ubuntu7.9 via snapshot.