Broken Dnf update on centos 8

Solution 1:

I eventually enable city-fan repo but allowed it to update only curl.The /etc/yum.repos.d/city-fan.repo should be as follows:

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
includepkgs=curl*
exclude=*

I hope this helps someone.