Hello,
Unable to install rpm Java package. it terminates with errors:
mycentos opt]# rpm -ivh jre-8u161-linux-x64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:jre1.8-1.8.0_161-fcs ################################# [100%]
error: unpacking of archive failed on file /usr/java/jre1.8.0_161/THIRDPARTYLICENSEREADME-JAVAFX.txt;5a758d28: cpio: Digest mismatch
error: jre1.8-1.8.0_161-fcs.x86_64: install failed
Java installation error - digest mismatch
Re: Java installation error - digest mismatch
What is the output from namei /usr/java/jre1.8.0_161/THIRDPARTYLICENSEREADME-JAVAFX.txt ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Java installation error - digest mismatch
Output is:
f: /usr/java/jre1.8.0_161/THIRDPARTYLICENSEREADME-JAVAFX.txt
d /
d usr
d java
d jre1.8.0_161
THIRDPARTYLICENSEREADME-JAVAFX.txt - No such file or directory
f: ?
? - No such file or directory
f: /usr/java/jre1.8.0_161/THIRDPARTYLICENSEREADME-JAVAFX.txt
d /
d usr
d java
d jre1.8.0_161
THIRDPARTYLICENSEREADME-JAVAFX.txt - No such file or directory
f: ?
? - No such file or directory
Re: Java installation error - digest mismatch
Not sure what the difference is between the 161 and 162 releases but 162 installed OK here. The error you're getting usually means that the file exists but either isn't a file (e.g. it's a directory) or it has been marked as immutable using chattr. In your case, it doesn't seem to be either but the problem you have is that the file cannot be created or renamed to the right name. Can you try the 162 installer and see if that's any different?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Java installation error - digest mismatch
Hello,
I have tried 162 but same error.
[xxx usr]# rpm -ivh jre-8u162-linux-x64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:jre1.8-1.8.0_162-fcs ################################# [100%]
error: unpacking of archive failed on file /usr/java/jre1.8.0_162/COPYRIGHT;5a75f32c: cpio: Digest mismatch
error: jre1.8-1.8.0_162-fcs.x86_64: install failed
I have tried 162 but same error.
[xxx usr]# rpm -ivh jre-8u162-linux-x64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:jre1.8-1.8.0_162-fcs ################################# [100%]
error: unpacking of archive failed on file /usr/java/jre1.8.0_162/COPYRIGHT;5a75f32c: cpio: Digest mismatch
error: jre1.8-1.8.0_162-fcs.x86_64: install failed
Re: Java installation error - digest mismatch
What's the output of lsattr -d /usr/java ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke