[CentOS] RPM Transaction Failure

Sun Mar 3 06:53:54 UTC 2019
Mark LaPierre <marklapier at gmail.com>

Hey Y'all,

I have a yum update failure that remains consistent and repeatable.

This is what happens every time I try to update the java package.

This a new computer with a fresh network install of CentOS 6.10.

How can I fix this?

CentOS release 6.10 (Final)

Linux nicotine.patch 2.6.32-754.11.1.el6.x86_64 #1 SMP Tue Feb 26 
15:38:56 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  Number of cores = 4
  01:51:37 up 3 days,  4:02,  1 user,  load average: 0.00, 0.04, 0.08


Is this ok [y/N]: y
Downloading Packages:
java-1.7.0-openjdk-1.7.0.201-2.6.16.0.el6_10.x86_64.rpm 
 
                       |  27 MB     00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Error in PRETRANS scriptlet in rpm package 
1:java-1.7.0-openjdk-1.7.0.201-2.6.16.0.el6_10.x86_64
error: lua script failed: /usr/libexec/copy_jdk_configs.lua:272: attempt 
to index global 'file' (a nil value)
   Verifying  : 1:java-1.7.0-openjdk-1.7.0.201-2.6.16.0.el6_10.x86_64 
 
                                           1/2
1:java-1.7.0-openjdk-1.7.0.181-2.6.14.10.el6.x86_64 was supposed to be 
removed but is not!


-- 
     _
    °v°
   /(_)\
    ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****