fuzziebrain / docker-oracle-xe

Docker build for Oracle Database 18c Express Edition (XE). This project is now archived with the release of version 21c.
MIT License
272 stars 127 forks source link

2/2 Error unpacking rpm package oracle-database-xe-18c-1.0-1.x86_64 #60

Open anatole-cadet opened 4 years ago

anatole-cadet commented 4 years ago

Hi,

I build the image docker build -t oracle-xe:18c . And i have this error : Do you know what can be the reason ?

Total download size: 56 k
Installed size: 5.2 G
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : file-5.11-36.el7.x86_64                                      1/2 
  Installing : oracle-database-xe-18c-1.0-1.x86_64                          2/2**Error unpacking rpm package oracle-database-xe-18c-1.0-1.x86_64**

error: unpacking of archive failed on file /opt/oracle/product/18c/dbhomeXE/ctx/data/anl/lang/japanese/lex.obj;5edd18af: cpio: read
  Verifying  : file-5.11-36.el7.x86_64                                      1/2 
  Verifying  : oracle-database-xe-18c-1.0-1.x86_64                          2/2 

Dependency Installed:
  file.x86_64 0:5.11-36.el7                                                     

Failed:
  oracle-database-xe-18c.x86_64 0:1.0-1                                         

Complete!
The command '/bin/sh -c yum install -y oracle-database-preinstall-18c &&   yum install -y /tmp/${ORACLE_XE_RPM} &&   rm -rf /tmp/${ORACLE_XE_RPM}' returned a non-zero code: 1
R0Wi commented 4 years ago

Hey, i just successfully built the image without any problems. I downloaded the rpm from here.

A quick google search gave me the following link, which might be interesting for you?

If you see this error, please make sure that the package has been downloaded from a reliable source and it is complete by checking the MD5 checksum of the downloaded copy and the original. (Command #md5sum)