Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
Error "http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64 Moved Permanently"

Good day,
could someone verify the status of the http://public-yum.oracle.com/ repository?
Asking as the "yum install" is failing while the packages are accessible via browser or wget.
Below is an example of failure to download "csh" package.
=====================================
[[email protected]]# yum -v install csh
Not loading "rhnplugin" plugin, as it is disabled
Config time: 0.004
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
http://public-yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Trying other mirror.
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 301 - Moved Permanently
Trying other mirror.
pkgsack time: 0.272
Checking for virtual provide or file-provide for csh
Obs Init time: 0.584
Resolving Dependencies
--> Running transaction check
---> Package tcsh.x86_64 0:6.18.01-17.el7_9.1 will be installed
Checking deps for tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('/bin/sh', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('/bin/sh', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('coreutils', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('grep', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('grep', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('libcrypt.so.1(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('rtld(GNU_HASH)', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('libc.so.6(GLIBC_2.14)(64bit)', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('libcrypt.so.1()(64bit)', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
looking for ('libtinfo.so.5()(64bit)', None, (None, None, None)) as a requirement of tcsh.x86_64 0:6.18.01-17.el7_9.1 - u
--> Finished Dependency Resolution
Dependency Process ending
Depsolve time: 1.173
Dependencies Resolved
=========================================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================================
Installing:
tcsh x86_64 6.18.01-17.el7_9.1 ol7_latest 338 k
Transaction Summary
=========================================================================================================================================================================
Install 1 Package
Total download size: 338 k
Installed size: 662 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
tcsh-6.18.01-17.el7_9.1.x86_64 FAILED
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/tcsh-6.18.01-17.el7_9.1.x86_64.rpm: [Errno 14] HTTPS Error 301 - Moved Permanently-:--:-- ETA
Trying other mirror.
Error downloading packages:
tcsh-6.18.01-17.el7_9.1.x86_64: [Errno 256] No more mirrors to try.
===================================
Thank you.
Kind regards,
Best Answer
-
The URLs in your yum config are out of date. I’m guessing your yum client is being redirected from http to https, at a minimum.
I’d use this file as a starting point:
And then read the instructions here:
https://yum.oracle.com/getting-started.html#installing-software-from-oracle-linux-yum-server
Answers
-
The URLs in your yum config are out of date. I’m guessing your yum client is being redirected from http to https, at a minimum.
I’d use this file as a starting point:
And then read the instructions here:
https://yum.oracle.com/getting-started.html#installing-software-from-oracle-linux-yum-server
-
Hi Sergio,
thank you for the reply!
So far "yum/dnf" work well.
Just as a note, I got the OL7 repositories from https://yum.oracle.com/oracle-linux-7.html page, respectively OL8 from https://yum.oracle.com/oracle-linux-8.html page.
Kind regards,