Amazon Linux 2023
Error: Unable to find a match: <package>
A package that existed on Amazon Linux 2 isn't in the Amazon Linux 2023 repositories under that name.
AL2023's repositories differ from AL2's. A package may have been renamed, made version-namespaced (python3.11, nginx1.24, postgresql15), moved to SPAL (Supplementary Packages for Amazon Linux), left to EPEL, or dropped. Scripts that `dnf install <old-name>` (or `yum install`, which now routes to dnf) fail with 'Unable to find a match'.
Related deadline: Amazon Linux 2 EOL — 2026-06-30.
The free EOLkits scanner runs in your browser (nothing uploaded) and flags this and related breakages across your IaC and dependency files.
Prefer a 10-second check? Paste your config into the free AWS EOL checker — nothing uploaded.
Primary source: https://docs.aws.amazon.com/linux/al2023/ug/package-management.html