Tenho uma instância EC2 executando Amazon Linux 2023. Adicionei o repositório fish de acordo com as instruções. Eu usei dnf config-manager --add-repo...
e então dnf config-manager --enable-repo...
. Eu também adicionei g++, cmake, pcre2, gettext, gcc, pip
quaisquer pacotes do tipo build.
[root@ip-172-31-24-201 /etc/yum.repos.d]# ls
amazonlinux.repo fish.repo kernel-livepatch.repo
Eu corri:
[root@ip-172-31-24-201 /etc/yum.repos.d]# dnf clean all
22 files removed
[root@ip-172-31-24-201 /etc/yum.repos.d]# dnf update
Amazon Linux 2023 repository 38 MB/s | 25 MB 00:00
Amazon Linux 2023 Kernel Livepatch repository 55 kB/s | 10 kB 00:00
Fish shell - 3.x release series (CentOS_8) 27 kB/s | 18 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
Quando tento instalar o FISH, recebo os seguintes erros:
[root@ip-172-31-24-201 ec2-user]# dnf install fish
Last metadata expiration check: 0:14:58 ago on Wed Jun 19 22:30:39 2024.
Error:
Problem: conflicting requests
- package fish-3.7.1-3.1.aarch64 from shells_fish_release_3 does not have a compatible architecture
- nothing provides /usr/libexec/platform-python needed by fish-3.7.1-3.1.aarch64 from shells_fish_release_3
- nothing provides ld-linux-aarch64.so.1()(64bit) needed by fish-3.7.1-3.1.aarch64 from shells_fish_release_3
- nothing provides ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) needed by fish-3.7.1-3.1.aarch64 from shells_fish_release_3
- nothing provides libdl.so.2(GLIBC_2.17)(64bit) needed by fish-3.7.1-3.1.aarch64 from shells_fish_release_3
- nothing provides libm.so.6(GLIBC_2.17)(64bit) needed by fish-3.7.1-3.1.aarch64 from shells_fish_release_3
- nothing provides libpthread.so.0(GLIBC_2.17)(64bit) needed by fish-3.7.1-3.1.aarch64 from shells_fish_release_3
- nothing provides /usr/libexec/platform-python needed by fish-3.7.1-3.1.x86_64 from shells_fish_release_3
(try to add '--skip-broken' to skip uninstallable packages)
Não estou usando ARM/aarch64
então corri:
[root@ip-172-31-24-201 yum.repos.d]# dnf install fish --skip-broken
Last metadata expiration check: 0:01:27 ago on Wed Jun 19 23:02:14 2024.
Dependencies resolved.
Problem: cannot install the best candidate for the job
- nothing provides /usr/libexec/platform-python needed by fish-3.7.1-3.1.x86_64 from shells_fish_release_3
==================================================================================================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================================================================================================
Skipping packages with broken dependencies:
fish x86_64 3.7.1-3.1 shells_fish_release_3 4.8 M
Transaction Summary
==================================================================================================================================================================================================================
Skip 1 Package
Nothing to do.
Complete!
Alguém sabe como consertar isso ou instalar /usr/libexec/platform-python
?
obrigado.