CentOS 7 broke. Redhat destroyed it further. Now we’ve moved on to Debian, Ubuntu (that we always had), and Alma Linux.
These are the clues:
yum update fails
yum upgrade fails
Repos give 404s, for example:
http://mirror.centos.org/centos/7/sclo/x86_64/rh/repodata/repomd.xml: [Errno 14] HTTP Error 404 – Not Found
But what if you still have legacy CentOS 7 around and it doesn't want to update? You could try this: sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
Strait after making these changes, try updating or installing a few files again (e.g. yum install mc).
Cannot find a valid baseurl for repo: centos-sclo-sclo
mv /etc/yum.repos.d/CentOS-SCLo-scl.repo /root or cd /etc/yum.repos.d mv CentOS-SCLo-scl.repo /root
You will cry at Stack
sqlite problems
Disable that bad repo
yum-config-manager --disable centos-sclo-rh yum-config-manager --disable centos-sclo-sclo
Maybe try this if it fails again:
yum remove sclo-php55-php-pecl-imagick
Package wbm-virtual-server-7.20.1.gpl-1.noarch.rpm is not signed
yum upgrade --nogpgcheck