Brent Hills wrote:
Hugh Brown wrote:


Brent Hills wrote:
I have a recently installed Redhat 5 Enterprise system.

It is entitled but is not applying software updates.

Yum reports (and the graphical package manager) report:
Cannot open/read repomd.xml file for repository: rhel-i386-server-5

Viewed in RHN scheduled updates fail with a:
"Fatal error in Python code occurred [[6]]" (code -1)

It has not functioned properly since installation. rhn_register shows the system as setup for software updates and powerups and other information are updated in RHN.

Is there a simple way to restore the update problems without reinstalling?

Thank you for any suggestions,
Brent.

You could try a "yum clean all" and then try "yum check-update"

If that works, then you should be able to apply updates again.

Thanks for the suggestion but it didn't work for me. I tried removing and reinstalling the yum related rpms which also did not work for me. Could someone explain to me what generates the repomd.xml file and at what time?

This is annoying.

Thanks
Brent

As I understand it, the repository maintainer (Redhat in this case) uses the yum tool createrepo to create it on the server side (as well as update it). When you run yum, it looks through its list of repos and downloads the repomd.xml file for each repository.

So, if the error is "can't read repomd.xml" then I'd assume that either yum can't read it from the redhat server or it can't read it from local disk.

If it's the server version that can't be read, then you need to make sure that the system is registered correctly, your entitlement hasn't expired, ...

If it's on the local system then the "yum clean all" should have removed it and the "yum check-update" should have downloaded the new one.

The package that provides the RHN checking repo/functionality is yum-rhn-plugin. You can do an "rpm -V yum-rhn-plugin" to make sure that the package is okay. If it is, then I'd look at your RHN subscription.

Hugh

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to