Linux系统下使用rpm安装时失败 出现错误:“依赖检测失败” 解决方法

今天长青在重新安装yum的时候出现了这种错误,提示“依赖检测失败”

在这里插入图片描述

解决方法:

在命令末尾加上 –nodeps --force

参数意思:

–nodeps:不检测依赖关系
–force:强制安装

例子:

rpm -ivh yum-* --force --nodeps

在这里插入图片描述
这样就ok啦

猜你喜欢

转载自blog.csdn.net/qq_42716761/article/details/127750591