remicollet / remirepo

Issue tracker for
https://rpms.remirepo.net/
278 stars 53 forks source link

Amazon Linux 2023 Installation Problem #241

Closed flightlesstux closed 1 year ago

flightlesstux commented 1 year ago

Hi,

I'm trying to install php8.1 from the remi repository on Amazon Linux 2023, and I'm getting an error during the rpm installation. Amazon Linux 2023 base from Fedora 34, Fedora 35, and Fedora 36. Is it possible to make another rpm package for Amazon Linux 2023? You can see below what I tried.

bash-5.2# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01"

bash-5.2# uname -a
Linux 95cf17c97016 4.14.231-173.361.amzn2.x86_64 #1 SMP Mon Apr 26 20:57:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

bash-5.2# dnf install https://rpms.remirepo.net/fedora/remi-release-34.rpm
Last metadata expiration check: 1:16:25 ago on Sun Jul 30 18:44:40 2023.
remi-release-34.rpm                                                                                                                                                                                       220 kB/s |  26 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides fedora-release >= 34 needed by remi-release-34-7.fc34.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages)

bash-5.2# dnf install https://rpms.remirepo.net/fedora/remi-release-35.rpm
Last metadata expiration check: 1:16:29 ago on Sun Jul 30 18:44:40 2023.
remi-release-35.rpm                                                                                                                                                                                       272 kB/s |  29 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides fedora-release >= 35 needed by remi-release-35-6.fc35.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages)

bash-5.2# dnf install https://rpms.remirepo.net/fedora/remi-release-36.rpm
Last metadata expiration check: 1:16:32 ago on Sun Jul 30 18:44:40 2023.
remi-release-36.rpm                                                                                                                                                                                       259 kB/s |  28 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides fedora-release >= 36 needed by remi-release-36-3.fc36.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages)

What we can do?

flightlesstux commented 1 year ago

Could you check, please? @remicollet

remicollet commented 1 year ago

Sorry, but Amazon Linux is only a Frankenstein thing, to much change from Fedora.

Not supported for now.

Use real Fedora or CentOS, RHEL, Alma, Rocky images instead.