Beware, there is a change in behaviour in yum. Example
# yum -y install vim blahblah
On RHEL7 it
On RHEL8 it
This is an intentional change. As much as I hate it, I understand that it was the perfect time to do it :-)
Update your scripts, this will help:
# yum -y install --skip-broken vim blahblah
Take care. Oh, one more thing. You can also use yum --setopt=strict=0 install
to get the old behavior and this is actually recommended by DNF developers,
however I can hardly imagine remembering this thing.