Xautoconfig dependency problem with YDL 4.0 final

Bill Fink billfink at mindspring.com
Sat Oct 2 00:10:33 MDT 2004


I ran across a dependency issue with the Xautoconfig package
in YDL 4.0 final when trying to do a "yum update" or "yum upgrade"
from 4.0rc3.  The problem is caused by the Xautoconfig-0.23-1.ydl.1
package that comes with YDL 4.0 still having a couple of dependencies
on XFree86 packages even though YDL 4.0 now uses xorg-x11 packages.

To fix this, I downloaded the Xautoconfig-0.23-1.ydl.1.src.rpm
source RPM file and installed it via:

	rpm -i /usr/src/yellowdog/SRPMS/Xautoconfig-0.23-1.ydl.1.src.rpm

I then edited the /usr/src/yellowdog/SPECS/Xautoconfig.spec file to
change the 2 offending dependency lines from:

Requires: XFree86 >= 4.2, system-config-keyboard, system-config-mouse, kbd
Requires: XFree86-xfs

to:

Requires: xorg-x11 >= 0.0.6.6, system-config-keyboard, system-config-mouse, kbd
Requires: xorg-x11-xfs

I should probably have bumped up the version number as well but I
was lazy.

I then rebuilt a new Xautoconfig-0.23-1.ydl.1.ppc.rpm PPC binary RPM
with the command:

	rpmbuild -bb /usr/src/yellowdog/SPECS/Xautoconfig.spec

and installed it via:

	rpm -U /usr/src/yellowdog/RPMS/ppc/Xautoconfig-0.23-1.ydl.1.ppc.rpm

After this I was able to do a successful "yum update" and "yum upgrade".

So I am now quite happily running YDL 4.0 final on a dual 1 GHz G4.

						-Bill


More information about the yellowdog-general mailing list