0

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 $releasever in /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 /etc/yum.repos.d 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 dnf update

2

In-place upgrades from RHEL 7.6 to RHEL 8.1 are supported using Leapp, with a number of limitations, but there’s no supported equivalent to upgrade from CentOS 7 to CentOS 8.

(And no, you can’t switch from CentOS to RHEL in-place either, to perform the upgrade that way.)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.