DEV Community

Discussion on: Install PHP 8 on AWS Amazon Linux 2

Collapse
 
abtfur profile image
Richard Fu

Failed in sodo yum install php80:

Error: Package: php80-runtime-1.0-3.el7.remi.x86_64 (remi-safe)
           Requires: scl-utils
 You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
4:perl-5.16.3-294.43.amzn1.x86_64 is a duplicate with 4:perl-5.16.3-286.38.amzn1.x86_64
perl-Getopt-Long-2.40-3.6.amzn1.noarch is a duplicate with perl-Getopt-Long-2.40-2.5.amzn1.noarch
1:perl-Pod-Escapes-1.04-294.43.amzn1.noarch is a duplicate with 1:perl-Pod-Escapes-1.04-286.38.amzn1.noarch
4:perl-libs-5.16.3-294.43.amzn1.x86_64 is a duplicate with 4:perl-libs-5.16.3-286.38.amzn1.x86_64
4:perl-macros-5.16.3-294.43.amzn1.x86_64 is a duplicate with 4:perl-macros-5.16.3-286.38.amzn1.x86_64
Enter fullscreen mode Exit fullscreen mode
Collapse
 
andreaolivato profile image
Andrea Olivato

Have you added the optional epel repo? You might have other external repo that conflict with higher priority.