Open
Description
Hi All,
I am trying to run build script to create Oracle database image on my local system using below command.
./buildContainerImage.sh -v 19.3.0 -e
But while running it I am getting following error
#9 0.638 Loaded plugins: ovl
#9 12.70 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/180f470efde3c1b8b6734adda054286860c65c82-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 12.70 Trying other mirror.
#9 14.07 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/180f470efde3c1b8b6734adda054286860c65c82-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 14.07 Trying other mirror.
#9 15.34 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/180f470efde3c1b8b6734adda054286860c65c82-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 15.34 Trying other mirror.
#9 15.34
#9 15.34
#9 15.34 One of the configured repositories failed (Oracle Linux 7Server Latest (x86_64)),
#9 15.34 and yum doesn't have enough cached data to continue. At this point the only
#9 15.34 safe thing yum can do is fail. There are a few ways to work "fix" this:
#9 15.34
#9 15.34 1. Contact the upstream for the repository and get them to fix the problem.
#9 15.34
#9 15.34 2. Reconfigure the baseurl/etc. for the repository, to point to a working
#9 15.34 upstream. This is most often useful if you are using a newer
#9 15.34 distribution release than is supported by the repository (and the
#9 15.34 packages for the previous distribution release still work).
#9 15.34
#9 15.34 3. Run the command with the repository temporarily disabled
#9 15.34 yum --disablerepo=ol7_latest ...
#9 15.34
#9 15.34 4. Disable the repository permanently, so yum won't use it by default. Yum
#9 15.34 will then just ignore the repository until you permanently enable it
#9 15.34 again or use --enablerepo for temporary usage:
#9 15.34
#9 15.34 yum-config-manager --disable ol7_latest
#9 15.34 or
#9 15.34 subscription-manager repos --disable=ol7_latest
#9 15.34
#9 15.34 5. Configure the failing repository to be skipped, if it is unavailable.
#9 15.34 Note that yum will try to contact the repo. when it runs most commands,
#9 15.34 so will have to try and fail each time (and thus. yum will be be much
#9 15.34 slower). If it is a very temporary problem though, this is often a nice
#9 15.34 compromise:
#9 15.34
#9 15.34 yum-config-manager --save --setopt=ol7_latest.skip_if_unavailable=true
#9 15.34
#9 15.34 failure: repodata/180f470efde3c1b8b6734adda054286860c65c82-primary.sqlite.bz2 from ol7_latest: [Errno 256] No more mirrors to try.
#9 15.34 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/180f470efde3c1b8b6734adda054286860c65c82-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 ERROR: executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh && sync && $INSTALL_DIR/$CHECK_SPACE_FILE && $INSTALL_DIR/$SETUP_LINUX_FILE && rm -rf $INSTALL_DIR]: exit code: 1
------
> [base 5/5] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install:
------
executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh && sync && $INSTALL_DIR/$CHECK_SPACE_FILE && $INSTALL_DIR/$SETUP_LINUX_FILE && rm -rf $INSTALL_DIR]: exit code: 1
ERROR: Oracle Database container image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the build operation.
Please help