[root@root ~]# rpm -qa |grep jdk
java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64
[root@root~]# rpm -e java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64
error: Faileddependencies:
jre >= 1.5.0 is needed by(installed) libreoffice-ure-1:3.4.5.2-16.el6.x86_64
libjawt.so()(64bit) is needed by(installed) libreoffice-core-1:3.4.5.2-16.el6.x86_64
libjawt.so(SUNWprivate_1.1)(64bit) isneeded by (installed) libreoffice-core-1:3.4.5.2-16.el6.x86_64
从上面可以看出删除java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64时有依赖包,所以删除错误
解决方法:
[root@root ~]#rpm --nodeps -e java-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.x86_64
[root@root~]# rpm -qa |grep jdk
[root@root~]#
作者:儱剑阿攵 转载请注明链接:http://blog.csdn.net/awenluck/article/details/39368687
原文链接:https://www.f2er.com/javaschema/285325.html