-1

I wanted to install perl-LWP-Protocol-https package on my OEL 6.10 server. I did download the rpm of the same and tried to install it. But it has lot of dependencies. So I did setup repo from https://packages.endpoint.com/ to install the required package. But I am getting below error while installing. Could some one help me ?

yum install perl-LWP-Protocol-https*

Loaded plugins: security
Setting up Install Process
https://packages.endpoint.com/rhel/6Server/os/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: endpoint.
Please verify its path and try again

4

1 回答 1

0

在 OEL 6.10 上安装 perl-LWP-Protocol-https 包

rpm 包 perl-LWP-Protocol-https 似乎来自已停产的 EL6 的 Suse 存储库。

安装 perl 模块LWP-Protocol-https

# yum install perl-IO-Socket-SSL perl-CPAN
# cpan
cpan[1]> install Net::HTTPS 
cpan[2]> install LWP::UserAgent
cpan[3]> install LWP::Protocol::https

安装测试使用“Redhat CentOS 6.10”完成。


OEL 6.10 的替代方案:使用 yum安装perl-CPAN 。并安装“其他模块”CPAN

如果 OEL 存储库中没有 perl-CPAN,则从源https://cpan.metacpan.org/authors/id/A/AN/ANDK/CPAN-2.27.tar.gz安装 CPAN

cd CPAN-2.27/ && perl Makefile.PL && make
# make install
于 2020-04-02T13:26:11.857 回答