因此我无法在我的其中一台机器上运行 yum update。它返回以下错误:
[root@yadayada ~]# yum -y update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package ods-filerepo.noarch 0:1.3-110520.0-el6 will be updated
---> Package ods-filerepo.noarch 0:1.3-110852.0-el6 will be an update
--> Processing Dependency: jre1.8 for package: ods-filerepo-1.3-110852.0-el6.noarch
--> Finished Dependency Resolution
Error: Package: ods-filerepo-1.3-110852.0-el6.noarch (ods)
Requires: jre1.8
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
但是我显然在机器上安装了正确版本的 Java:
[root@yadayada ~]# java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
[root@yadayada ~]# yum install java
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Package jre1.8.0_121-1.8.0_121-fcs.x86_64 already installed and latest version
Nothing to do
我有点不知所措。有人知道我可以在这里查看什么来修复这个问题吗?我们使用内部存储库,但其他主机都没有遇到此问题。这是一台非常旧的机器,我负责恢复它,我不知道可能是什么原因造成的。
它在 Centos6.9 上(不是选择)。