[WBEL-users] Circularity in YUM

Kirby C. Bohling kbohling@birddog.com
Sun, 12 Dec 2004 13:55:03 -0600


On Sun, Dec 12, 2004 at 07:49:14PM +0100, Kay Diederichs wrote:
> david wrote:
> >Folks
> >
> >I am maintaining several systems with WBEL.  Although I tried to perform 
> >identical initial installations, the process was manual so I'm sure some 
> >differences occurred.  In one and only one of the systems, every time I 
> >perform a YUM update, I receive a message notice from the Cron job I use 
> >to perform updates.  All of these systems are servers, and no GUI is 
> >installed, as far as I know.
> >
> >
> >Issuing /usr/bin/yum -y -e 0 update
> >Gathering header information file(s) from server(s)
> >Server: White Box Enterprise Linux 3.0 - i386 - Base
> >Server: White Box Enterprise Linux 3.0 - i386 - Released Updates
> >Finding updated packages
> >Downloading needed headers
> >Resolving dependencies
> >.....identical dependency loop exceeded
> >package up2date-gnome needs up2date = 4.2.5 (not provided)
> >package XFree86-Xvfb needs XFree86 = 4.3.0-62.EL (not provided)
> >package redhat-config-network needs redhat-config-network-tui = 1.2.60-1 
> >(not provided)
> >Issuing /usr/bin/yum -y -e 0 clean
> >Gathering header information file(s) from server(s)
> >Server: White Box Enterprise Linux 3.0 - i386 - Base
> >Server: White Box Enterprise Linux 3.0 - i386 - Released Updates
> >Finding updated packages
> >Cleaning packages and old headers
> >
> >On other systems, I get perfectly clean results.
> >
> >On ALL systems, I am using yum.conf as follows:
> >
> >---------------------------  begin yum.conf
> >
> >
> >[main]
> >cachedir=/var/cache/yum
> >debuglevel=2
> >logfile=/var/log/yum.log
> >pkgpolicy=newest
> >distroverpkg=whitebox-release
> >tolerant=1
> >exactarch=1
> >retries=20
> >failovermethod=roundrobin
> >gpgcheck=1
> >
> >[base]
> >name=White Box Enterprise Linux $releasever - $basearch - Base
> >baseurl=ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/os/$basearch/ 
> >
> ># ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/os/$basearch/
> ># 
> >ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/os/$basearch/ 
> >
> ># ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/os/$basearch/
> ># 
> >ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/os/$basearch/ 
> >
> ># 
> >ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/os/$basearch/
> >#        http://whitebox.phantomhosting.com/$releasever/en/os/$basearch/
> >
> >[updates-released]
> >name=White Box Enterprise Linux $releasever - $basearch - Released Updates
> >baseurl=ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/updates/
> >#        
> >ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/updates/
> ># 
> >ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/updates/ 
> >
> >#        
> >ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/updates/
> ># ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/updates/
> >#        
> >ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/updates/
> >#        http://whitebox.phantomhosting.com/$releasever/en/updates/
> >
> >---------------------------  end yum.conf
> >
> >Also, on all systems, I performed a yum clean headers to allows the 
> >databases to regenerate.
> >
> >Help?  Is there some other information I could supply?
> >
> >David
> 
> David,
> 
> I would issue 'rpm -qa' on all systems and compare the output. This way 
> you'll find where exactly the systems differ, and you could then 'rpm 
> -e' those packages on the misbehaving system that exist in addition to 
> the common RPMs.
> 

One other interesting thing could be to do "yum list extras".  I believe
that will tell you all of the packages you have in your RPM database
that YUM doesn't know how to add/install (the repository you are
connecting to should be un-corrupt).  It sure sounds like
something is corrupt in your RPM database.  It sure looks like
whatever mirror you are using it's missing the three files you have.

The other interesting thing would be to check the depenencies by
hand.  What is the output of the following:

rpm -q up2date
rpm -q XFree86
rpm -q redhat-config-network-tui

Also, how long ago did you install the machines?  Do you remember if
you installed off of the original release, or the repsin 1?  I had a
period there where about half the machines I installed would corrupt
their RPM database if I used yum/rpm without upgrading the rpm and
yum packages absolutely first.  My post-install kickstart scripts
does 

yum update -y rpm
yum update -y yum

Absolutely before doing anything else.  So it might be that you just
tripped up a bug in RPM.  Vincent who e-mails from dtn.com provided
me with the answer.  I'll have to go dig it up.  Essentially, reboot
the machine and run "rpm --rebuild" first thing.  If you can't
reboot, there's a big long list of process names to kill I can't
ever remember the list.

	Thanks,
		Kirby