Description of problem: yum update fails with message: ERROR with rpm_check_debug vs depsolve: xen-libs is needed by (installed) xen-3.0.3-80.el5.i386 Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. run "yum update" 2. 3. Actual results: See error. Expected results: yum update completes Additional info:
Hi Geoff, can you please provide following infos: output of rpm -qa "xen*" output of uname -a full output of yum update
Created attachment 473924 [details] Output from "yum update". Output from "yum update".
Created attachment 473927 [details] Output from yum -y update
[root@ndws00 ~]# rpm -qa "xen" xen-3.0.3-80.el5 [root@ndws00 ~]# uname -a Linux ndws00.deos.udel.edu 2.6.18-194.11.3.el5 #1 SMP Mon Aug 23 15:49:21 EDT 2010 i686 i686 i386 GNU/Linux
Thanks...just to output of rpm -qa..It should be rpm -qa "xen*" (with star to list all xen packages). Anyway, I see no problem from xen perspective. Reassign to yum to check what's wrong.
Actually run these commands instead: rpm -Va --nofiles --nodigest yum list 'xen*'
[root@ndws00 ~]# rpm -Va --nofiles --nodigest Unsatisfied dependencies for xen-3.0.3-80.el5.i386: xen-libs = 3.0.3-80.el5 and [root@ndws00 ~]# yum list 'xen*' Loaded plugins: rhnplugin, security /usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead. warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning) Installed Packages xen.i386 3.0.3-80.el5 installed xen-libs.i386 3.0.3-105.el5_5.5 installed Available Packages xen-libs.i386 3.0.3-120.el5 rhel-i386-server-5 Thanks.
Right, fix the pre-existing problems in the rpmdb and yum will be happy (yum assumes that the rpmdb is good before depsolving, rpm doesn't so much).
OK, so what's wrong with the rpmdb and how do I fix it? Thanks.
You have a package already installed "xen" which has a requirement "xen-libs = 3.0.3-80.el5" which isn't met. This shouldn't be possible. You could "yum remove xen" (or rpm -e xen), or try: yum install "xen-libs = 3.0.3-80.el5" ...after the rpmdb is fixed, yum should work fine.
Since we don't use xen, I simply removed the xen packages and dependencies. Re-running the yum update seems to be working fine now. Many thanks for your help. Geoff Quelch