Я использую RHEL 7.2
и хочу установить perl
. Выполняя yum install perl
, он выводит следующее:
# yum install perl
......
Total size: 11 M
Total download size: 8.0 M
Installed size: 36 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rhel-7-server-rpms
perl-File-Path-2.09-2.el7.noar FAILED ] 0.0 B/s | 0 B --:--:-- ETA
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/perl-File-Path-2.09-2.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=rhel-7-server-rpms clean metadata
Trying other mirror.
perl-5.16.3-286.el7.x86_64.rpm FAILED ] 258 kB/s | 4.7 MB 00:00:13 ETA
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/perl-5.16.3-286.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=rhel-7-server-rpms clean metadata
Trying other mirror.
Error downloading packages:
perl-File-Path-2.09-2.el7.noarch: [Errno 256] No more mirrors to try.
4:perl-5.16.3-286.el7.x86_64: [Errno 256] No more mirrors to try.
Я пробовал yum --enablerepo=rhel-7-server-rpms clean metadata
, но результат тот же. Как можно решить эту проблему, чтобы успешно установить perl
на RHEL 7
?