I have removed the yum package manager and using dnf only on centos 7
when i do
dnf upgrade it does not work because i believe the values of
/etc/yum.repos.d is still gets the value as 7 and hence the url is pointed to the centos 7 url.
Now I belive
$releasever value is taken from rpmdb.
How to perform this upgrade to centos 8 with the old variable values being updated to the new values for centos 8 in
dnf has an option
--releasever RELEASEVER to override the release server but not sure if it will update the rpmdb so that i can proceed with updates in future in a normal manner like