1. 安装.rpm包一般命令:

    rpm -ivh *.rpm

    安装.rpm包提示错误“Failed dependencies”
  2. 出现:error: Failed dependencies:....的安装命令:

    rpm -ivh *.rpm --nodeps --force

    安装.rpm包提示错误“Failed dependencies”

     

    1.--nodeps就是安装时不检查依赖关系,比如你这个rpm需要A,但是你没装A,这样你的包就装不上,用了--nodeps你就能装上了。

    2.--force就是强制安装,比如你装过这个rpm的版本1,如果你想装这个rpm的版本2,就需要用--force强制安装。

     

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2021-09-07
  • 2022-03-02
  • 2021-11-04
  • 2021-08-31
相关资源
相似解决方案