続いて、以下のメッセージの通り、コマンドを実行しました。
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
コマンド
# yum-complete-transaction --cleanup-only
Loaded plugins: dkms-build-requires, nvidia, priorities, update-motd, upgrade-helper
7 packages excluded due to repository priority protections
Cleaning up unfinished transaction journals