Looking at the screenshot CentOS8Which version of CentOS are you using?
Looking at the screenshot CentOS8
dnf --disablerepo '*' --enablerepo extras swap centos-linux-repos centos-stream-repos
dnf distro-sync
Have you even bothered to read the other replies? Let me summarize it for you, since you didn't.I too am having issues with the update system.
dnf --disablerepo '*' --enablerepo extras swap centos-linux-repos centos-stream-repos
dnf distro-sync