Skip to content

Filter unavailable apt packages during PHP install#94

Merged
peterjaap merged 1 commit into
mainfrom
fix/php85-opcache-merged-into-cli
Apr 21, 2026
Merged

Filter unavailable apt packages during PHP install#94
peterjaap merged 1 commit into
mainfrom
fix/php85-opcache-merged-into-cli

Conversation

@peterjaap
Copy link
Copy Markdown
Collaborator

PHP 8.5 ships OPcache built into php8.5-cli, so the Ondřej PPA no longer publishes a separate php8.5-opcache package. The hardcoded install list caused bootstrap to fail with "Unable to locate package php8.5-opcache" on Ubuntu.

Filter the extension list through apt-cache show before invoking apt install, printing a note for any skipped packages. Self-heals future packaging consolidations without requiring version-specific branches.

PHP 8.5 ships OPcache built into php8.5-cli, so the Ondřej PPA no
longer publishes a separate php8.5-opcache package. The hardcoded
install list caused bootstrap to fail with "Unable to locate package
php8.5-opcache" on Ubuntu.

Filter the extension list through apt-cache show before invoking apt
install, printing a note for any skipped packages. Self-heals future
packaging consolidations without requiring version-specific branches.
@peterjaap
Copy link
Copy Markdown
Collaborator Author

Fixes #93

@peterjaap peterjaap merged commit b7f8ef4 into main Apr 21, 2026
11 checks passed
@peterjaap peterjaap deleted the fix/php85-opcache-merged-into-cli branch April 21, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant