problem yum install perl-Net-SSLeay [centos 6.8]

December 1, 2016 4.8k views
DigitalOcean CentOS

i am trying to install webmin on my server but when i try to install, i get the notification to install yum install perl-Net-SSLeay, when i try the above command via ssh i get this error why:
yum install perl-Net-SSLeay
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: centos.firehosted.com
  • extras: mirror.steadfast.net
  • rpmforge: mirror.team-cymru.org
  • updates: mirror.nexcess.net No package perl-Net-SSLeay available. Error: Nothing to do
  • It looks like this is a known issue with Webmin on some CentOS 6.x versions; some users found that specifying a package version (rather than the metapackage) corrected the issue, I recommend searching for the version available to your installation with yum list perl-Net-SSLeay* which should show you which packages are available.

  • i did the above command and here is the results:

    yum list perl-Net-SSLeay
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile

    • base: centos.firehosted.com
    • extras: mirror.eboundhost.com
    • rpmforge: mirror.team-cymru.org
    • updates: mirror.nexcess.net base | 3.7 kB 00:00 extras | 3.4 kB 00:00 rpmforge | 1.9 kB 00:00 updates | 3.4 kB 00:00 vz-base | 951 B 00:00 vz-updates | 951 B 00:00 Error: No matching Packages to list ~
2 Answers

From what I know rpmforge is already outdated. You have to remove that repo. Make sure your CentOS is a clean OS.

Method 1:

sudo rm -rf /etc/yum.repos.d/rpmforge.repo
sudo yum -y update

Method 2:

sudo nano /etc/yum.repos.d/rpmforge.repo


enabled = 0


sudo yum -y update

Install perl, perl-Net-SSLeay, openssl, perl-IO-Tty

sudo yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

What is the solution if the package for perl-Net-SSLeay is not available?
What is the command and location to get the right package for Centos7?

Have another answer? Share your knowledge.