Yum Updates Broken?

I received an email with this in it?

What does it mean?

/etc/cron.hourly/0yum-hourly.cron:

removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/extras/mirrorlist.txt
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/updates/mirrorlist.txt
Traceback (most recent call last):
File “/usr/sbin/yum-cron”, line 729, in
main()
File “/usr/sbin/yum-cron”, line 726, in main
base.updatesCheck()
File “/usr/sbin/yum-cron”, line 618, in updatesCheck
self.populateUpdateMetadata()
File “/usr/sbin/yum-cron”, line 422, in populateUpdateMetadata
self.pkgSack # honor skip_if_unavailable
File “/usr/lib/python2.7/site-packages/yum/init.py”, line 1074, in
pkgSack = property(fget=lambda self: self._getSacks(),
File “/usr/lib/python2.7/site-packages/yum/init.py”, line 778, in _getSacks
self.repos.populateSack(which=repos)
File “/usr/lib/python2.7/site-packages/yum/repos.py”, line 347, in populateSack
self.doSetup()
File “/usr/lib/python2.7/site-packages/yum/repos.py”, line 158, in doSetup
self.ayum.plugins.run(‘postreposetup’)
File “/usr/lib/python2.7/site-packages/yum/plugins.py”, line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File “/usr/lib/yum-plugins/fastestmirror.py”, line 197, in postreposetup_hook
if downgrade_ftp and _len_non_ftp(repo.urls) == 1:
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 878, in
urls = property(fget=lambda self: self._geturls(),
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 875, in _geturls
self._baseurlSetup()
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 841, in _baseurlSetup
self.check()
File “/usr/lib/python2.7/site-packages/yum/yumRepo.py”, line 559, in check
’Cannot find a valid baseurl for repo: %s’ % self.ui_id
yum.Errors.RepoError: Cannot find a valid baseurl for repo: extras/x86_64

I have been seeing this periodically, too. I did find a bugtracker item for CentOS on this issue dating back to May 2017, but it does not seem to have been fixed.

In my case, it appears regularly, and then doesn’t show up as an issue for a while, before it returns.

Here’s the bug track entry I have found: https://bugs.centos.org/view.php?id=13289. It’s marked as a non-critical error.

1 Like

Based on the log file, it implies that this runs every hour. I have not received this error again, so it has run many times successfully since.

I received another email detailing updates that were being installed on my machine, so it is working.

How often are updates like this pushed out? I have subscribed to receive stable updates, so I assume this is a stable update package? Or are stable updates and yum updates a separate thing?