'uln-yum-mirror' Fails With Errors 'Warning: cannot find repository' 'No repositories found' on Local Repository Server.
(Doc ID 2396385.1)
Last updated on OCTOBER 07, 2020
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterLinux OS - Version Oracle Linux 5.0 and later
Linux x86-64
Symptoms
When running the "uln-yum-mirror" script on your local repository server does not sync all repositories correctly and reviewing the log shows the following errors.
NOTE: Using "ol7_x86_64_spacewalk24_client" as an example in below outputs:
## BEGIN PROCESSING ol7_x86_64_spacewalk24_client ##
Channel Dir: /var/www/html/yum/OracleLinux/OL7/spacewalk24/client/x86_64
Warning: cannot find repository ol7_x86_64_spacewalk24_client <================
No repositories found <===============
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
## END PROCESSING ol7_x86_64_spacewalk24_client ##
Running "yum repolist" on the local yum repository server also shows that the specific repository that is encountering the errors above reports "0" RPMs under the "status" field.
[root@localrepo ~]# yum repolist
Loaded plugins: refresh-packagekit, rhnplugin, security, ulninfo
This system is receiving updates from ULN.
repo id repo name status
....
ol7_x86_64_SoftwareCollections/x86_64 Oracle Software Collections fo 5,178
ol7_x86_64_latest/x86_64 Oracle Linux 7 Latest (x86_64) 5,196+34
ol7_x86_64_optional_latest/x86_64 Oracle Linux 7 Latest Optional 4,786+40
ol7_x86_64_spacewalk24_client/x86_64 Spacewalk Client 2.4 for Oracl 0 <============
Changes
None
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |