Yum issue, One of the configured repositories failed (Unknown)

Todd23

Member
Mar 16, 2017
13
2
53
home
cPanel Access Level
Root Administrator
This has happened on 2 server so far running cloudlinux, centos7, and cPanel & WHM v102.0.11
Not sure what the repo id is

Determining fastest mirrors
* EA4: 208.100.0.204
* cpanel-addons-production-feed: 208.100.0.204
* cpanel-plugins: 208.100.0.204
* cloudlinux-x86_64-server-7: us-west.cl-mirror.net

One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
The SSL certificate failed verification.
 
Last edited by a moderator:

Todd23

Member
Mar 16, 2017
13
2
53
home
cPanel Access Level
Root Administrator
From yum.repos.d

EA4.repo
MariaDB102.repo
cPAddons.repo
centos-extras.repo
cloudlinux-ea4-experimental.repo
cloudlinux-ea4-rollout.repo
cloudlinux-ea4-testing.repo
cloudlinux-ea4.repo
cloudlinux-imunify360.repo
cloudlinux-rollout.repo
cloudlinux.repo
cpanel-plugins.repo
imunify-rollout.repo
imunify360-testing.repo
imunify360.repo
wp-toolkit-cpanel.repo
 

andrew.n

Well-Known Member
Jun 9, 2020
875
325
63
EU
cPanel Access Level
Root Administrator
yum clean all
yum --disablerepo=centos-extras update

how is this?
 

andrew.n

Well-Known Member
Jun 9, 2020
875
325
63
EU
cPanel Access Level
Root Administrator
Sorry for the delay Todd. Can you also run this and paste the output please? It seems centos-extra is not enabled hence you got that error.

yum repolist enabled
 

Todd23

Member
Mar 16, 2017
13
2
53
home
cPanel Access Level
Root Administrator
Loaded plugins: fastestmirror, langpacks, rhnplugin, universal-hooks
This system is receiving updates from CLN.
Loading mirror speeds from cached hostfile
* EA4: 63.247.64.58
* cpanel-addons-production-feed: 63.247.64.58
* cpanel-plugins: 63.247.64.58
* cloudlinux-x86_64-server-7: xmlrpc.cln.cloudlinux.com
repo id repo name status
!EA4/7/x86_64 EA4 ( EasyApache 4 ) 4,822+860
!cpanel-addons-production-feed/x86_64 cPanel Addons Production Feed 68
!cpanel-plugins/x86_64 cPanel Plugins project 76
!cl-ea4/7/x86_64 CloudLinux 7 EasyApache4 16,606
!cloudlinux-ea4-rollout-1/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 1 0
!cloudlinux-ea4-rollout-10/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 10 0
!cloudlinux-ea4-rollout-2/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 2 0
!cloudlinux-ea4-rollout-3/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 3 0
!cloudlinux-ea4-rollout-4/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 4 0
!cloudlinux-ea4-rollout-5/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 5 0
!cloudlinux-ea4-rollout-6/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 6 0
!cloudlinux-ea4-rollout-7/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 7 0
!cloudlinux-ea4-rollout-8/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 8 0
!cloudlinux-ea4-rollout-9/7/x86_64 CloudLinux-EA4-7 - Gradual Rollout Slot 9 0
!cloudlinux-imunify360/7/x86_64 CloudLinux-7 - Imunify360 2,691
!cloudlinux-rollout-1/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 1 0
!cloudlinux-rollout-10/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 10 0
!cloudlinux-rollout-2/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 2 0
!cloudlinux-rollout-3/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 3 0
!cloudlinux-rollout-4/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 4 0
!cloudlinux-rollout-5/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 5 0
!cloudlinux-rollout-6/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 6 0
!cloudlinux-rollout-7/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 7 2
!cloudlinux-rollout-8/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 8 0
!cloudlinux-rollout-9/7/x86_64 CloudLinux-7 - Gradual Rollout Slot 9 0
!cloudlinux-x86_64-server-7 cloudlinux-x86_64-server-7 42,582+331
!imunify360 EL-7 - Imunify360 2,691
!imunify360-rollout-1/7 Imunify360 - Gradual Rollout Slot 1 0
!imunify360-rollout-2/7 Imunify360 - Gradual Rollout Slot 2 0
!imunify360-rollout-3/7 Imunify360 - Gradual Rollout Slot 3 0
!imunify360-rollout-4/7 Imunify360 - Gradual Rollout Slot 4 0
!mysql-connectors-community/x86_64 MySQL Connectors Community 230
!mysql-tools-community/x86_64 MySQL Tools Community 138
!mysql57-community/x86_64 MySQL 5.7 Community Server 564
repolist: 70,470
 

mioritichost

Registered
Mar 23, 2022
1
2
3
Romania
cPanel Access Level
Root Administrator
For CloudLinux users: sometimes, their repos "fastest mirrors" are down or very slow. This will lead to "One of the configured repositories failed (Unknown)" error.

The solution is to edit /etc/yum/pluginconf.d/fastestmirror.conf and to enable the line: exclude=eu-fr.cl-mirror.net (that mirror was for me; replace it with what you have) and use yum again.

I've lost 3 hours for this solution. :mad:
 

CanSpace

Well-Known Member
PartnerNOC
Nov 25, 2011
67
59
68
cPanel Access Level
DataCenter Provider
For CloudLinux users: sometimes, their repos "fastest mirrors" are down or very slow. This will lead to "One of the configured repositories failed (Unknown)" error.

The solution is to edit /etc/yum/pluginconf.d/fastestmirror.conf and to enable the line: exclude=eu-fr.cl-mirror.net (that mirror was for me; replace it with what you have) and use yum again.

I've lost 3 hours for this solution. :mad:
Thanks this saved us. We had to exclude us-ny.cl-mirror.net
 
  • Like
Reactions: Spirogg