Hi,
I have a VM running Oracle Linux Server release 5.8 (/etc/oracle-release), and most actions in yum throw an error, like this output from yum repolist:
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
ol5_u8_base | 80 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL5/8/base/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for ol5_u8_base: Damaged repomd.xml file
Trying other mirror.
repo id repo name status
ol5_u8_base Oracle Linux 5 Update 8 installation media copy (x86_64) 4,639
repolist: 4,639
uname -a shows:
Linux mybox.mydom.com 2.6.32-300.10.1.el5uek #1 SMP Wed Feb 22 17:37:40 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
I can wget/curl the repomd.xml file from the public yum site just fine. Since this server hasn't been touched (yum-wise) in over a year, I also downloaded the public-yum-el5.repo and RPM-GPG-KEY-oracle-el5 files again from Oracle Public Yum Server. I've attempted to enable/disable all repos listed in the repo file (except the spacewalk ones), but each one throws that "Damaged repomd.xml file" error.
I need to install samba, so I thought I'd try that using yum install samba:
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
ol5_u8_base | 80 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL5/8/base/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for ol5_u8_base: Damaged repomd.xml file
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package samba.x86_64 0:3.0.33-3.37.el5 set to be updated
--> Processing Dependency: perl(Convert::ASN1) for package: samba
--> Running transaction check
---> Package perl-Convert-ASN1.noarch 0:0.20-1.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===========================================================================================================================================================================
Package Arch Version Repository Size
===========================================================================================================================================================================
Installing:
samba x86_64 3.0.33-3.37.el5 ol5_u8_base 16 M
Installing for dependencies:
perl-Convert-ASN1 noarch 0.20-1.1 ol5_u8_base 42 k
Transaction Summary
===========================================================================================================================================================================
Install 2 Package(s)
Upgrade 0 Package(s)
Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): perl-Convert-ASN1-0.20-1.1.noarch.rpm | 80 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL5/8/base/x86_64/getPackage/perl-Convert-ASN1-0.20-1.1.noarch.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
(2/2): samba-3.0.33-3.37.el5.x86_64.rpm | 80 kB 00:00
http://public-yum.oracle.com/repo/OracleLinux/OL5/8/base/x86_64/getPackage/samba-3.0.33-3.37.el5.x86_64.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
Error Downloading Packages:
samba-3.0.33-3.37.el5.x86_64: failure: getPackage/samba-3.0.33-3.37.el5.x86_64.rpm from ol5_u8_base: [Errno 256] No more mirrors to try.
perl-Convert-ASN1-0.20-1.1.noarch: failure: getPackage/perl-Convert-ASN1-0.20-1.1.noarch.rpm from ol5_u8_base: [Errno 256] No more mirrors to try.
Again, I can wget the files from the server exactly as listed in the yum output. I've also tried yum clear all. I thought I had the correct repo enabled, but it doesn't matter what repo(s) I have enabled, I get the same error.
Thoughts?
Thanks!
Rich