Назад | Перейти на главную страницу

Невозможно установить awstats на redhat 7 из-за отсутствия perl (LWP :: UserAgent)

Я не могу установить awstats на моем rhel7 aws ec2 пример:

[root@ip-10-146-180-60 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@ip-10-146-180-60 ~]# rpm -ivh http://prdownloads.sourceforge.net/awstats/awstats-7.3-1.noarch.rpm
Retrieving http://prdownloads.sourceforge.net/awstats/awstats-7.3-1.noarch.rpm
error: Failed dependencies:
    perl(LWP::UserAgent) is needed by awstats-7.3-1.noarch
[root@ip-10-146-180-60 ~]#

awstats-7.3-1.noarch.rpm также искал perl-Digest-MD5 (perl-Digest это одна из зависимостей для perl-Digest-MD5):

[root@ip-10-146-180-60 ~]# tail -2 /var/log/yum.log 
Sep 16 21:46:39 Installed: perl-Digest-1.17-245.el7.noarch
Sep 16 21:46:39 Installed: perl-Digest-MD5-2.52-3.el7.x86_64
[root@ip-10-146-180-60 ~]#

Мне удалось их установить, но я не могу найти perl(LWP::UserAgent) для rhel7.

[root@ip-10-146-180-60 ~]# yum --enablerepo=* list all | grep perl-LWP
perl-LWP-Authen-Negotiate.noarch
perl-LWP-MediaTypes.noarch     6.02-2.el7       rhui-REGION-rhel-server-releases
perl-LWP-Protocol-http10.noarch
perl-LWP-Protocol-https.noarch 6.04-4.el7       rhui-REGION-rhel-server-releases
[root@ip-10-146-180-60 ~]# 

yum --enablerepo=* repolist вывод:

[root@ip-10-146-180-60 ~]# yum --enablerepo=* repolist
Loaded plugins: amazon-id, rhui-lb
repo id                                                                                                       repo name                                                                                                                 status
epel/x86_64                                                                                                   Extra Packages for Enterprise Linux 7 - x86_64                                                                            5,618
epel-debuginfo/x86_64                                                                                         Extra Packages for Enterprise Linux 7 - x86_64 - Debug                                                                    1,328
epel-source/x86_64                                                                                            Extra Packages for Enterprise Linux 7 - x86_64 - Source                                                                       0
epel-testing/x86_64                                                                                           Extra Packages for Enterprise Linux 7 - Testing - x86_64                                                                    523
epel-testing-debuginfo/x86_64                                                                                 Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug                                                            104
epel-testing-source/x86_64                                                                                    Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source                                                             0
remi                                                                                                          Les RPM de remi pour Enterprise Linux 7 - x86_64                                                                          1,424
remi-debuginfo/x86_64                                                                                         Les RPM de remi pour Enterprise Linux 7 - x86_64 - debuginfo                                                                494
remi-php55                                                                                                    Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - x86_64                                                                 233
remi-php55-debuginfo/x86_64                                                                                   Les RPM de remi de PHP 5.5 pour Enterprise Linux 7 - x86_64 - debuginfo                                                     138
remi-php56                                                                                                    Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - x86_64                                                                 237
remi-php56-debuginfo/x86_64                                                                                   Les RPM de remi de PHP 5.6 pour Enterprise Linux 7 - x86_64 - debuginfo                                                     141
remi-test                                                                                                     Les RPM de remi en test pour Enterprise Linux 7 - x86_64                                                                     56
remi-test-debuginfo/x86_64                                                                                    Les RPM de remi en test pour Enterprise Linux 7 - x86_64 - debuginfo                                                          5
rhui-REGION-client-config-server-7/x86_64                                                                     Red Hat Update Infrastructure 2.0 Client Configuration Server 7                                                               2
rhui-REGION-rhel-server-debug-extras/7Server/x86_64                                                           Red Hat Enterprise Linux Server 7 Extra Debug (Debug RPMs)                                                                    4
rhui-REGION-rhel-server-debug-optional/7Server/x86_64                                                         Red Hat Enterprise Linux Server 7 Optional Debug (Debug RPMs)                                                               344
rhui-REGION-rhel-server-debug-rh-common/7Server/x86_64                                                        Red Hat Enterprise Linux Server 7 RH Common Debug (Debug RPMs)                                                                7
rhui-REGION-rhel-server-debug-rhscl/7Server/x86_64                                                            Red Hat Enterprise Linux Server 7 RHSCL Debug (Debug RPMs)                                                                   98
rhui-REGION-rhel-server-debug-supplementary/7Server/x86_64                                                    Red Hat Enterprise Linux Server 7 Supplementary Debug (Debug RPMs)                                                            0
rhui-REGION-rhel-server-extras/7Server/x86_64                                                                 Red Hat Enterprise Linux Server 7 Extra(RPMs)                                                                                12
rhui-REGION-rhel-server-optional/7Server/x86_64                                                               Red Hat Enterprise Linux Server 7 Optional (RPMs)                                                                         4,377
rhui-REGION-rhel-server-releases/7Server/x86_64                                                               Red Hat Enterprise Linux Server 7 (RPMs)                                                                                  4,753
rhui-REGION-rhel-server-releases-debug/7Server/x86_64                                                         Red Hat Enterprise Linux Server 7 Debug (Debug RPMs)                                                                      2,040
rhui-REGION-rhel-server-releases-source/7Server/x86_64                                                        Red Hat Enterprise Linux Server 7 (SRPMs)                                                                                     0
rhui-REGION-rhel-server-rh-common/7Server/x86_64                                                              Red Hat Enterprise Linux Server 7 RH Common (RPMs)                                                                           53
rhui-REGION-rhel-server-rhscl/7Server/x86_64                                                                  Red Hat Enterprise Linux Server 7 RHSCL (RPMs)                                                                              779
rhui-REGION-rhel-server-source-extras/7Server/x86_64                                                          Red Hat Enterprise Linux Server 7 Extra (SRPMs)                                                                              12
rhui-REGION-rhel-server-source-optional/7Server/x86_64                                                        Red Hat Enterprise Linux Server 7 Optional (SRPMs)                                                                        1,474
rhui-REGION-rhel-server-source-rh-common/7Server/x86_64                                                       Red Hat Enterprise Linux Server 7 RH Common (SRPMs)                                                                          43
rhui-REGION-rhel-server-source-rhscl/7Server/x86_64                                                           Red Hat Enterprise Linux Server 7 RHSCL (SRPMs)                                                                             424
rhui-REGION-rhel-server-source-supplementary/7Server/x86_64                                                   Red Hat Enterprise Linux Server 7 Supplementary (SRPMs)                                                                       0
rhui-REGION-rhel-server-supplementary/7Server/x86_64                                                          Red Hat Enterprise Linux Server 7 Supplementary (RPMs)                                                                       36
repolist: 24,759
[root@ip-10-146-180-60 ~]#

Я пробовал гуглить, но тоже не смог найти ... есть идеи, где еще его искать?

после yum install perl-libwww-perl (и куча зависимостей):

Sep 17 21:40:19 Installed: 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
Sep 17 21:40:19 Installed: perl-LWP-MediaTypes-6.02-2.el7.noarch
Sep 17 21:40:19 Installed: perl-Data-Dumper-2.145-3.el7.x86_64
Sep 17 21:40:19 Installed: perl-Encode-Locale-1.03-5.el7.noarch
Sep 17 21:40:19 Installed: perl-HTML-Tagset-3.20-15.el7.noarch
Sep 17 21:40:19 Installed: perl-Net-LibIDN-0.12-15.el7.x86_64
Sep 17 21:40:19 Installed: 1:perl-TimeDate-2.30-2.el7.noarch
Sep 17 21:40:19 Installed: perl-HTTP-Date-6.02-8.el7.noarch
Sep 17 21:40:19 Installed: perl-File-Listing-6.04-7.el7.noarch
Sep 17 21:40:19 Installed: perl-Net-SSLeay-1.55-3.el7.x86_64
Sep 17 21:40:20 Installed: perl-Business-ISBN-Data-20120719.001-2.el7.noarch
Sep 17 21:40:20 Installed: perl-Business-ISBN-2.06-2.el7.noarch
Sep 17 21:40:20 Installed: perl-URI-1.60-9.el7.noarch
Sep 17 21:40:20 Installed: perl-WWW-RobotRules-6.02-5.el7.noarch
Sep 17 21:40:20 Installed: perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
Sep 17 21:40:20 Installed: perl-IO-Compress-2.061-2.el7.noarch
Sep 17 21:40:20 Installed: perl-IO-HTML-1.00-2.el7.noarch
Sep 17 21:40:20 Installed: perl-HTTP-Message-6.06-6.el7.noarch
Sep 17 21:40:20 Installed: perl-HTTP-Cookies-6.01-5.el7.noarch
Sep 17 21:40:20 Installed: perl-HTML-Parser-3.71-4.el7.x86_64
Sep 17 21:40:20 Installed: perl-HTTP-Daemon-6.01-5.el7.noarch
Sep 17 21:40:20 Installed: perl-HTTP-Negotiate-6.01-5.el7.noarch
Sep 17 21:40:20 Installed: perl-IO-Socket-IP-0.21-4.el7.noarch
Sep 17 21:40:20 Installed: perl-IO-Socket-SSL-1.94-3.el7.noarch
Sep 17 21:40:21 Installed: perl-Net-HTTP-6.06-2.el7.noarch
Sep 17 21:40:21 Installed: perl-libwww-perl-6.05-2.el7.noarch

Мне удалось установить awstats:

[root@ip-10-146-180-60 ~]# rpm -q awstats
awstats-7.3-1.noarch
[root@ip-10-146-180-60 ~]#