You could try using --skip-broken to work around the problem Found 6 pre-existing rpmdb problem(s)
已加载插件:fastestmirror,product-id,subscription-managerThissystemisnotregisteredtoRedHatSubscriptionManagement.Youcanusesubscription-managertoregister.设置安装进程Loadingmirrorspeedsfromcachedhostfilehttp://ngi