虚拟机中装Linux,版本centOS6.6_64,之前已经安装好jdk了,卸载时弹出如下错误:

[root@localhost 桌面]# rpm -e jdk1.8.0_112-1.8.0_112-fcs.x86_64
error: Failed dependencies:
    jre >= 1.5.0 is needed by (installed) libreoffice-ure-1:4.0.4.2-14.el6.x86_64

提示卸载时的以依赖错误。 jdk版本是jdk1.8.0_112-1.8.0_112-fcs.x86_64。Google到一篇前辈的博文,更改代码如下:

[root@localhost 桌面]# rpm -e jdk1.8.0_112-1.8.0_112-fcs.x86_64 --nodeps

全部安装好,应该也不会影响软件使用,因为我之前安好jdk后还安装了tomcat9,没出现啥错误。

 

相关文章:

  • 2021-05-02
  • 2021-07-27
  • 2021-10-11
  • 2021-11-21
  • 2021-04-01
  • 2021-12-05
  • 2021-11-28
  • 2021-12-31
猜你喜欢
  • 2022-03-02
  • 2021-12-05
  • 2022-03-07
  • 2022-02-08
  • 2021-08-19
相关资源
相似解决方案