The URL's should be ok. Perhaps your internet access is not configured properly.
If you Internet connection is working than you might have an invalid yum configuration file: You can try the following:
rm -f *
yum clean all
yum -y install oracle-validated
I'm trying to get to that point, validating both the server and the YUM network setup, I have no clue which of those is incorrect.
What I do know is that the server doesn't need internet access for anything, this would be the exception.
I've added a proxy server to the YUM config, and only that, and everything now works ...
It strikes me that the command gives that much output, but nothing in that direction.
If I understand correctly, setting up a proxy (for YUM only) is one of the obvious things for YUM to work from inside many Linux VM's. Correct ?
No, you need to setup a proxy only if your host computer or VM guest system does not have direct access to the Internet. By default most VM guest systems use a NAT Ethernet adapter which makes connections on behalf of the host system and TCP/IP configuration. However, if browsing the web on your host system requires to configure your browser to use a web proxy, so will yum in the guest OS.
And btw, oracle-validated triggers the installation of other software packages which are defined as package dependencies.
If you have Oracle Linux Disk then you can also install oracle-validate package from your Disk.
All the packages which are required for oracle Database installation are present in oracle Linux Disk.
However, the URL's shown in the OP error message are working, so it rather looks like an Internet access issue than a wrong repo configuration.
Yes its looks a network issue where user is unable to connect Internet and download packages.
The thing is, that has already been done. I needed only 1 package, which is a clue in the direction of : I'm having a lot of stuff already. Actually, the server already has a database 10.2.0.3 and I'm upgrading another DB to 10.2.0.4
That would also mean that YUM should or could already be working. But, it didn't when I tried ..
The server indeed does not have internet access. Maybe it had in the past, but not now.
What I'm actually asking in this thread is : suppose one sets up YUM correctly, and one day the server does not have internet connection, is my output EXACTLY what one should be getting, or is there other errors involved here as well.
Keep in mind I just have set the proxy, and after that YUM returned only valid screen output.
Yum tries to use whatever you have configured in your .repo configuration file or files. An entry can be invalid, but in your case you can simpy connect to the http shown in the output to realize that it's a web access problem, e.g.: http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/repodata/repomd.xml. Yum does not verify your Internet connection.
Btw, oracle-validated is not a self-contained package other than a script to configure the orcle account and kernel parameters. It instructs yum to trigger the installation or prerequisite software as packages as dependencies.