yum was replaced with dnf; running yum just points to dnf so you're running the same thing\
are you using any custom repo or just the default?
did you try dnf clean all then try to update again?
could be some corrupt info from the power outage
ok, what good is dnf than yum ?
default , anyway to verify it ?
any command can ask Centos to find it out and fix it accordingly ?
rename the cache folder
mv /var/cache/dnf /var/cache/dnf-old
try dnf update again
mv /var/cache/dnf /var/cache/dnf-old
try dnf update again
dnf repolist
cat /etc/yum/pluginconf.d/product-id.conf
cat /etc/yum/pluginconf.d/subscription-manager.conf
Did you rename the cache folder and then run "dnf clean all" again?
If you've done that and it's still not working then I'll have to look into this some more tomorrow as I'm out of ideas.
rm /var/cache/dnf
rm /var/cache/yum
No. My CentOS VM has never had this problem in over a year of frequent use.
CentOS release 7.8.2003 (Core),
rm /var/cache/dnf
rm /var/cache/yum
there is only 1 problem
yum was replaced with dnf; running yum just points to dnf so you're running the same thing
are you using any custom repo or just the default?
did you try dnf clean all then try to update again?
could be some corrupt info from the power outage