Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

[Errno -1] Error importing repomd.xml for ol5_u8_base: Damaged repomd.xml file

socpresJun 17 2015 — edited Jun 22 2015

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

This post has been answered by socpres on Jun 22 2015
Jump to Answer

Comments

alan.pae
AFAIK no version of Solaris, even nevada build 91 uses ZFS for the root file system.

You could use OpenSolaris 200805 which does this but there are some other subtle differences between OpenSolaris and Solaris.

alan
807557
If you are running Solaris 10 U5, you can only have mirroring using svm, plus the root file system must be UFS.
However, you can make a slice in a zfs partition an mirror that (I wouldn't recommend using svm to mirror on
top of ZFS).

Opensolaris 2008.05 does zfs boot, and Nevada could do zfs boot since Build72 ( http://sol10frominnerspace.blogspot.com/2007/09/setup-zfs-boot-for-build-72.html ) - though bits and pieces were
not working o rmissing (like swap in a zvol). The big roll in was on Build94 ( http://www.opensolaris.org/os/community/on/flag-days/91-95/ )
so if you get the latest, your chances of running into any issues are lower.

-r
807557
oh excellent!

thanks guys, i'll get to and give OpenSolaris a spin, was the only thing holding me back making the move.

all the best,


John.
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 20 2015
Added on Jun 17 2015
7 comments
2,871 views