Article 5BXRT Error from yum being emailed daily

Error from yum being emailed daily

by
jim.thornton
from LinuxQuestions.org on (#5BXRT)
I'm having trouble with yum. I was able to run yum manually without a problem. However, I have it setup to run automatically. When it would run automatically, I get the following error:

Code:Error: Cannot find a valid baseurl for repo: base
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txtI received this message as an email.

I tried uninstalling yum and installing DNF and I'm getting the same error.

I can go into my system and type:
# dnf update

And it works without a problem, but daily I'm still getting the email mentioned above. I've searched to try and figure out how to fix it but can't figure it out.

Can anyone help with this please? I find this puzzling because I've got yum uninstalled now and have installed dnf-automatic instead. But, it is still sending the same message.

My environment is:
Code:]$ cat /etc/*release
CentOS Linux release 7.9.2009 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.9.2009 (Core)
CentOS Linux release 7.9.2009 (Core)latest?d=yIl2AUoC8zA latest?i=wMSlN0zrp6o:ihpTvRjXyZU:F7zBnMy latest?i=wMSlN0zrp6o:ihpTvRjXyZU:V_sGLiP latest?d=qj6IDK7rITs latest?i=wMSlN0zrp6o:ihpTvRjXyZU:gIN9vFwwMSlN0zrp6o
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments