oracle / centos2ol

Script and documentation to switch CentOS/Rocky Linux to Oracle Linux
https://linux.oracle.com/switch/centos/
Universal Permissive License v1.0
346 stars 83 forks source link

DNF required for CentOS7 yet DNF is not stock, and DNF is from extras which causes upgrade issues. #153

Open akh104 opened 2 years ago

akh104 commented 2 years ago

I'm new to this script, don't hit me. But... having to install DNF to even use it on CentOS7 is interesting... and my install pulled it from extras. But then running the script bombs out with a problem: Error: Package: python2-dnf-4.0.9.2-2.el7_9.noarch (@extras/7) Requires: python2-hawkey >= 0.22.5 Removing: python2-hawkey-0.22.5-2.el7_9.x86_64 (@extras/7) python2-hawkey = 0.22.5-2.el7_9 Downgraded By: python2-hawkey-0.6.3-4.el7.x86_64 (ol7_latest) python2-hawkey = 0.6.3-4.el7

So, do I need to enable some extra OL7 extras channel? In fact, is dnf even part of OEL7?

akh104 commented 2 years ago

This could be a problem with actually having dnf latest installed on a C7 system. After removing dnf, and hawkey, the conversion script correctly worked.