SOLVED EasyApache 4 migration fails due to package dependency

LeviathanX

Member
Jan 21, 2013
10
0
1
cPanel Access Level
Root Administrator
Hello,

I tried to utilize the forum search, no result. I wast... eh.. tried two hours trying to resolve that issue on my own.
At least, my conclusion is that the cpanel install prevents yum to list/install/update packages from command line if it is not the kernel package. Re-Enabling the repos, cleaning caches etc did resolve nothing.

So, I saw the latest exploit warning by coincidende today which is why I am forced to upgrade to EA4. Though, I might even have become victim to that already as I had a good load of 1.5 million mails leaving my server that weekend... Dunno, could be.. I was kinda blacklisted everywhere.. But that's not topic here.

So, problem is the following. Migration fails and kills my EA3 install. Luckily I was able to revert it...

Code:
> Running transaction check
---> Package ea-apache24-config-runtime.noarch 0:1.0-150.150.4.cpanel will be installed
--> Processing Dependency: perl-libwww-perl for package: ea-apache24-config-runtime-1.0-150.150.4.cpanel.noarch
---> Package jakarta-commons-discovery.noarch 1:0.4-5.4.el6 will be installed
---> Package jakarta-commons-httpclient.x86_64 1:3.1-0.9.el6_5 will be installed
---> Package regexp.x86_64 0:1.5-4.4.el6 will be installed
---> Package wsdl4j.noarch 0:1.5.2-7.8.el6 will be installed
--> Finished Dependency Resolution
Error: Package: ea-apache24-config-runtime-1.0-150.150.4.cpanel.noarch (EA4)
    Requires: perl-libwww-perl
Obviously I tried installing it and ...

Code:
[/usr/local/cpanel/logs/packman/errors]# yum search libwww
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * epel: mirror.wiuwiu.de
 * extras: mirror.alpix.eu
 * updates: mirror.alpix.eu
============================================================================================================ N/S Matched: libwww ============================================================================================================
cpanel-perl-526-libwww-perl.noarch : CPAN module - The World-Wide Web library for Perl

  Name and summary matches only, use "search all" for everything.
Now, after some research I figured WHM has a perl-module section.. which revealed

Code:
cPanel::MemTest (0.3) Update Reinstall Uninstall Show Docs
common::sense (3.6) Update Reinstall Uninstall Show Docs
lib::restrict (0.0.5) Update Reinstall Uninstall Show Docs
libwww::perl (6.39) Update Reinstall Uninstall Show Docs
libxml-perl (0.08) Update Reinstall Uninstall Show Docs
local::lib (2.000017) Update Reinstall Uninstall Show Docs
So, it is installed in some form. Now, what to do? I am seriously clueless.

Code:
[EA4]
name=EA4 ( EasyApache 4 )
mirrorlist=http://httpupdate.cpanel.net/cPAddons-c6-x86_64-mirrorlist
gpgcheck=1
gpgkey=https://securedownloads.cpanel.net/cPanelPublicRPMKey.asc
enabled=1
cost=50
Is that EA4 package/repo faulty?

Server info:
CENTOS 6.10
cPanel v76.0.20

I'd like to get this resolved by Saturday if possible as I am leaving for a business (abroad) trip on Sunday.

Thank you in advance. :)
Kind regards,
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
The perl-libwww-perl package is available from the centos base repo:

Code:
[[email protected] ~]# yum info perl-libwww-perl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 67.222.0.10
 * EA4-experimental: 67.222.0.10
 * cpanel-addons-production-feed: 67.222.0.10
 * cpanel-plugins: 67.222.0.10
 * base: centos.mirror.lstn.net
 * centosplus: repo1.dal.innoscale.net
 * epel: mirror.compevo.com
 * extras: repos.dfw.quadranet.com
 * updates: repos.dfw.quadranet.com
Installed Packages
Name        : perl-libwww-perl
Arch        : noarch
Version     : 6.05
Release     : 2.el7
Size        : 487 k
Repo        : installed
From repo   : base
Summary     : A Perl interface to the World-Wide Web
URL         : http://search.cpan.org/dist/libwww-perl/
License     : GPL+ or Artistic
Description : The libwww-perl collection is a set of Perl modules which provides a simple and
            : consistent application programming interface to the World-Wide Web.  The main
            : focus of the library is to provide classes and functions that allow you to
            : write WWW clients. The library also contain modules that are of more general
            : use and even classes that help you implement simple HTTP servers.
What repos are enabled on your system?
 

LeviathanX

Member
Jan 21, 2013
10
0
1
cPanel Access Level
Root Administrator
Hello,

thanks for the reply.

Funny as it is the repos are set disabled for whatever reason. I did activate them. But whatever I did, I get a "Nothing to do" from yum. Hence I have disabled them again, didn't know if the cpanel install did that or not. (I actually did not touch these files ever since I set up the server a few years ago).

And for the cpanel repos I get a 500 HTTP or a 403 HTTP or just simple timeouts

Code:
[/etc/yum.repos.d]# yum info perl-libwww-perl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * epel: mirror.wiuwiu.de
 * extras: mirror.alpix.eu
 * updates: mirror.alpix.eu
Error: No matching Packages to list
Here all all the repos, dunno if one is out of date. I couldn't find a clear search result for what has to be used as URL for each of them.


Code:
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1
enabled=0

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=2

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
priority=2
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# CentOS-Debug.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#

# All debug packages from all the various CentOS-5 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#

[base-debuginfo]
name=CentOS-6 - Debuginfo
baseurl=http://debuginfo.centos.org/6/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6
enabled=0
[fasttrack]
name=CentOS-6 - fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/fasttrack/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# CentOS-Media.repo
#
#  This repo can be used with mounted DVD media, verify the mount point for
#  CentOS-6.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c6-media [command]
#
# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c6-media [command]

[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# CentOS-Vault.repo
#
# CentOS Vault holds packages from previous releases within the same CentOS Version
# these are packages obsoleted by the current release and should usually not
# be used in production
#-----------------

[C6.0-base]
name=CentOS-6.0 - Base
baseurl=http://vault.centos.org/6.0/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.0-updates]
name=CentOS-6.0 - Updates
baseurl=http://vault.centos.org/6.0/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.0-extras]
name=CentOS-6.0 - Extras
baseurl=http://vault.centos.org/6.0/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.0-contrib]
name=CentOS-6.0 - Contrib
baseurl=http://vault.centos.org/6.0/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.0-centosplus]
name=CentOS-6.0 - CentOSPlus
baseurl=http://vault.centos.org/6.0/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0
#-----------------

[C6.1-base]
name=CentOS-6.1 - Base
baseurl=http://vault.centos.org/6.1/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.1-updates]
name=CentOS-6.1 - Updates
baseurl=http://vault.centos.org/6.1/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.1-extras]
name=CentOS-6.1 - Extras
baseurl=http://vault.centos.org/6.1/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.1-contrib]
name=CentOS-6.1 - Contrib
baseurl=http://vault.centos.org/6.1/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.1-centosplus]
name=CentOS-6.1 - CentOSPlus
baseurl=http://vault.centos.org/6.1/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0
#-----------------

[C6.2-base]
name=CentOS-6.2 - Base
baseurl=http://vault.centos.org/6.2/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.2-updates]
name=CentOS-6.2 - Updates
baseurl=http://vault.centos.org/6.2/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.2-extras]
name=CentOS-6.2 - Extras
baseurl=http://vault.centos.org/6.2/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.2-contrib]
name=CentOS-6.2 - Contrib
baseurl=http://vault.centos.org/6.2/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.2-centosplus]
name=CentOS-6.2 - CentOSPlus
baseurl=http://vault.centos.org/6.2/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0
#-----------------

[C6.3-base]
name=CentOS-6.3 - Base
baseurl=http://vault.centos.org/6.3/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.3-updates]
name=CentOS-6.3 - Updates
baseurl=http://vault.centos.org/6.3/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.3-extras]
name=CentOS-6.3 - Extras
baseurl=http://vault.centos.org/6.3/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.3-contrib]
name=CentOS-6.3 - Contrib
baseurl=http://vault.centos.org/6.3/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.3-centosplus]
name=CentOS-6.3 - CentOSPlus
baseurl=http://vault.centos.org/6.3/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0
#-----------------

[C6.4-base]
name=CentOS-6.4 - Base
baseurl=http://vault.centos.org/6.4/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.4-updates]
name=CentOS-6.4 - Updates
baseurl=http://vault.centos.org/6.4/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.4-extras]
name=CentOS-6.4 - Extras
baseurl=http://vault.centos.org/6.4/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.4-contrib]
name=CentOS-6.4 - Contrib
baseurl=http://vault.centos.org/6.4/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.4-centosplus]
name=CentOS-6.4 - CentOSPlus
baseurl=http://vault.centos.org/6.4/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

#-----------------

[C6.5-base]
name=CentOS-6.5 - Base
baseurl=http://vault.centos.org/6.5/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.5-updates]
name=CentOS-6.5 - Updates
baseurl=http://vault.centos.org/6.5/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.5-extras]
name=CentOS-6.5 - Extras
baseurl=http://vault.centos.org/6.5/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.5-contrib]
name=CentOS-6.5 - Contrib
baseurl=http://vault.centos.org/6.5/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.5-centosplus]
name=CentOS-6.5 - CentOSPlus
baseurl=http://vault.centos.org/6.5/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

#-----------------

[C6.6-base]
name=CentOS-6.6 - Base
baseurl=http://vault.centos.org/6.6/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.6-updates]
name=CentOS-6.6 - Updates
baseurl=http://vault.centos.org/6.6/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.6-extras]
name=CentOS-6.6 - Extras
baseurl=http://vault.centos.org/6.6/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.6-contrib]
name=CentOS-6.6 - Contrib
baseurl=http://vault.centos.org/6.6/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.6-centosplus]
name=CentOS-6.6 - CentOSPlus
baseurl=http://vault.centos.org/6.6/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

#-----------------

[C6.7-base]
name=CentOS-6.7 - Base
baseurl=http://vault.centos.org/6.7/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.7-updates]
name=CentOS-6.7 - Updates
baseurl=http://vault.centos.org/6.7/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.7-extras]
name=CentOS-6.7 - Extras
baseurl=http://vault.centos.org/6.7/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.7-contrib]
name=CentOS-6.7 - Contrib
baseurl=http://vault.centos.org/6.7/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.7-centosplus]
name=CentOS-6.7 - CentOSPlus
baseurl=http://vault.centos.org/6.7/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

#-----------------

[C6.8-base]
name=CentOS-6.8 - Base
baseurl=http://vault.centos.org/6.8/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.8-updates]
name=CentOS-6.8 - Updates
baseurl=http://vault.centos.org/6.8/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.8-extras]
name=CentOS-6.8 - Extras
baseurl=http://vault.centos.org/6.8/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.8-contrib]
name=CentOS-6.8 - Contrib
baseurl=http://vault.centos.org/6.8/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.8-centosplus]
name=CentOS-6.8 - CentOSPlus
baseurl=http://vault.centos.org/6.8/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

#-----------------

[C6.9-base]
name=CentOS-6.9 - Base
baseurl=http://vault.centos.org/6.9/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.9-updates]
name=CentOS-6.9 - Updates
baseurl=http://vault.centos.org/6.9/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.9-extras]
name=CentOS-6.9 - Extras
baseurl=http://vault.centos.org/6.9/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.9-contrib]
name=CentOS-6.9 - Contrib
baseurl=http://vault.centos.org/6.9/contrib/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[C6.9-centosplus]
name=CentOS-6.9 - CentOSPlus
baseurl=http://vault.centos.org/6.9/centosplus/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
enabled=0

[cpanel-addons-production-feed]
name=cPanel Addons Production Feed
mirrorlist=http://httpupdate.cpanel.net/cPAddons-c$releasever-$basearch-mirrorlist
gpgcheck=1
gpgkey=https://securedownloads.cpanel.net/cPanelPublicRPMKey.asc
enabled=0
cost=50
[cpanel-plugins]
name=cPanel Plugins project (CentOS 6)
type=rpm-md
baseurl=http://httpupdate.cpanel.net/cpanelsync/repos/CentOS/6/cpanel-plugins/x86_64
gpgcheck=1
gpgkey=https://securedownloads.cpanel.net/cPanelPublicRPMKey.asc
enabled=1
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=10

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-testing]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-testing-source]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

Thank you! :)
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
When you ran this it didn't see the base repo:

Code:
[/etc/yum.repos.d]# yum info perl-libwww-perl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * epel: mirror.wiuwiu.de
 * extras: mirror.alpix.eu
 * updates: mirror.alpix.eu
Error: No matching Packages to list
Just epel, extras and updates
 

LeviathanX

Member
Jan 21, 2013
10
0
1
cPanel Access Level
Root Administrator
Well, Ok, but as said, re-Enabling the repos does nothing.
The only thing I ever get are kernel-updates. Everything else "does not exist"...

Code:
yum info perl-libwww-perl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                                                                         |  31 kB     00:00
 * base: mirror.alpix.eu
 * epel: mirror.wiuwiu.de
 * extras: mirror.wiuwiu.de
 * updates: mirror.alpix.eu
base                                                                                                                                                                                                                  | 3.7 kB     00:00
cpanel-plugins                                                                                                                                                                                                        | 2.9 kB     00:00 ...
epel                                                                                                                                                                                                                  | 5.3 kB     00:00
epel/primary_db                                                                                                                                                                                                       | 6.0 MB     00:00
extras                                                                                                                                                                                                                | 3.4 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
Error: No matching Packages to list
 

LeviathanX

Member
Jan 21, 2013
10
0
1
cPanel Access Level
Root Administrator
next try, no success

Code:
[/tmp]# wget http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-10.el6.centos.12.3.x86_64.rpm
--2019-06-07 19:24:43--  http://mirror.centos.org/centos/6/os/x86_64/Packages/centos-release-6-10.el6.centos.12.3.x86_64.rpm
Resolving mirror.centos.org... 2001:41d0:d:3691::10, 93.113.36.66
Connecting to mirror.centos.org|2001:41d0:d:3691::10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22216 (22K) [application/x-rpm]
Saving to: “centos-release-6-10.el6.centos.12.3.x86_64.rpm”

100%[===================================================================================================================================================================================================>] 22,216      --.-K/s   in 0.01s

2019-06-07 19:24:43 (1.56 MB/s) - “centos-release-6-10.el6.centos.12.3.x86_64.rpm” saved [22216/22216]

[/tmp]# yum reinstall centos-release-6-10.el6.centos.12.3.x86_64.rpm
Loaded plugins: fastestmirror, universal-hooks
Setting up Reinstall Process
Examining centos-release-6-10.el6.centos.12.3.x86_64.rpm: centos-release-6-10.el6.centos.12.3.x86_64
Loading mirror speeds from cached hostfile
 * base: mirror.alpix.eu
 * epel: mirror.wiuwiu.de
 * extras: mirror.wiuwiu.de
 * updates: mirror.alpix.eu
Resolving Dependencies
--> Running transaction check
---> Package centos-release.x86_64 0:6-10.el6.centos.12.3 will be reinstalled
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                           Arch                                      Version                                                    Repository                                                                      Size
=============================================================================================================================================================================================================================================
Reinstalling:
 centos-release                                    x86_64                                    6-10.el6.centos.12.3                                       /centos-release-6-10.el6.centos.12.3.x86_64                                     37 k

Transaction Summary
=============================================================================================================================================================================================================================================
Reinstall     1 Package(s)

Total size: 37 k
Installed size: 37 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : centos-release-6-10.el6.centos.12.3.x86_64                                                                                                                                                                                1/1
  Verifying  : centos-release-6-10.el6.centos.12.3.x86_64                                                                                                                                                                                1/1

Installed:
  centos-release.x86_64 0:6-10.el6.centos.12.3

Complete!
[/tmp]# yum info perl-libwww-perl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * base: mirror.alpix.eu
 * epel: mirror.wiuwiu.de
 * extras: mirror.wiuwiu.de
 * updates: mirror.alpix.eu
Error: No matching Packages to list
[/tmp]# yum clean all
Loaded plugins: fastestmirror, universal-hooks
Cleaning repos: base cpanel-plugins epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[/tmp]# yum update
Loaded plugins: fastestmirror, universal-hooks
Setting up Update Process
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                         |  31 kB     00:00
 * base: mirror.alpix.eu
 * epel: mirror.wiuwiu.de
 * extras: mirror.fra10.de.leaseweb.net
 * updates: mirror.checkdomain.de
base                                                                                                                                                                                                                  | 3.7 kB     00:00
base/primary_db                                                                                                                                                                                                       | 4.7 MB     00:00
cpanel-plugins                                                                                                                                                                                                        | 2.9 kB     00:00 ...
cpanel-plugins/primary_db                                                                                                                                                                                             |  57 kB     00:00
epel                                                                                                                                                                                                                  | 5.3 kB     00:00
epel/primary_db                                                                                                                                                                                                       | 6.0 MB     00:00
extras                                                                                                                                                                                                                | 3.4 kB     00:00
extras/primary_db                                                                                                                                                                                                     |  29 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
updates/primary_db                                                                                                                                                                                                    | 4.2 MB     00:00
No Packages marked for Update
[/tmp]# yum info perl-libwww-perl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * base: mirror.alpix.eu
 * epel: mirror.wiuwiu.de
 * extras: mirror.fra10.de.leaseweb.net
 * updates: mirror.checkdomain.de
Error: No matching Packages to list
[/tmp]# cd /etc/yum.repos.d/
 

LeviathanX

Member
Jan 21, 2013
10
0
1
cPanel Access Level
Root Administrator
Now! I have found something by sheer coincidence!

Did the cpanel install (over)write this config file for yum in some version? Because, I never touched it... I would really like to know, though..

Code:
[main]
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
tolerant=1
errorlevel=1
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

#  This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

Removing the perl* yields me...

Code:
 [/etc/yum.repos.d]# yum info perl-libwww-perl
Loaded plugins: fastestmirror, priorities, universal-hooks
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                                                                         |  31 kB     00:00
 * base: mirror.checkdomain.de
 * epel: mirror.wiuwiu.de
 * extras: mirror.alpix.eu
 * updates: mirror.checkdomain.de
base                                                                                                                                                                                                                  | 3.7 kB     00:00
cpanel-plugins                                                                                                                                                                                                        | 2.9 kB     00:00 ...
extras                                                                                                                                                                                                                | 3.4 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
106 packages excluded due to repository priority protections
Available Packages
Name        : perl-libwww-perl
Arch        : noarch
Version     : 5.833
Release     : 5.el6
Size        : 390 k
Repo        : base
Summary     : A Perl interface to the World-Wide Web
URL         : http://search.cpan.org/dist/libwww-perl/
License     : GPL+ or Artistic
Description : The libwww-perl collection is a set of Perl modules which provides a
            : simple and consistent application programming interface to the
            : World-Wide Web.  The main focus of the library is to provide classes
            : and functions that allow you to write WWW clients. The library also
            : contain modules that are of more general use and even classes that
            : help you implement simple HTTP servers.

Great, I thought the repo urls were dead or something (like out of date). Well, I may look like a honk now, but I hope this helps someone....


Anyways, thanks for your time!
Have a nice weekend.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Interesting, at one point perl was on the exclude list in the yum.conf but it shouldn't be now - looking at my test server it's not excluded:

Code:
exclude=courier* dovecot* exim* filesystem grub2* grubby* httpd* mod_ssl* mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
But that'd definitely explain why you weren't seeing it! I'm really glad you found it. Also, generally speaking, I wouldn't disable the CentOS Base repo.
 

LeviathanX

Member
Jan 21, 2013
10
0
1
cPanel Access Level
Root Administrator
Hello,

I assume it was some cpanel version that did all these changes in the background. I have never touched any of these files as said :)

Kind regards,