When you see a failed dependency you need to add another rpm to your
install list until all the dependencies are met. rpm -qf filename will
tell you the rpm that you need. If you really want to screw up your
linux install, then go ahead and use --nodep on the rpm upgrade but
please do not come begging for help if you do. That's what the
dependencies are for is to help you manage changes to your install.
Unless you're hacking something with great knowledge and intention,
NEVER use --nodep option in rpm, NEVER NEVER NEVER NEVER. This is a hint
----- NEVER!
Tom
Tony Webster wrote:
>
> I am trying to upgrade my Mandrake 7 distribution to XFree 4 using rpm's.
>
> I have downloaded the following rpm's from rpmfind.net
>
> XFree86-4.0-2mdk.i586
> XFree86-devel-4.0-2mdk.i586
> XFree86-libs-4.0-2mdk.i586
> XFree86-server-4.0-2mdk.i586
> XFree86-xfs-4.0-2mdk.i586
> XFree86-Xnest-4.0-2mdk.i586
> XFree86-Xvfb-4.0-2mdk.i586
>
> But when attempting to do a rpm -Uvh on the files I receive the following
> dependency errors.
>
> error: failed dependencies:
> libfont.so.1 is needed by XFree86-VGA16-3.3.6-4mdk
> libfont.so.1 is needed by XFree86-Mach64-3.3.6-4mdk
> XFree86 = 3.3.6-4mdk is needed by XFree86-VGA16-3.3.6-4mdk
> XFree86 = 3.3.6-4mdk is needed by XFree86-XF86Setup-3.3.6-4mdk
> XFree86 = 3.3.6-4mdk is needed by XFree86-Mach64-3.3.6-4mdk
> libGLU.so.1 is needed by pygtk-glarea-0.6.2-7mdk
> libGLU.so.1 is needed by Mesa-demos-3.1-2mdk
> libGLU.so.3 is needed by qt-qgl-1.44-15mdk
> libGLU.so.3 is needed by xscreensaver-gl-3.18-3mdk
> libGLU.so.3 is needed by xmms-mesa-0.9.5.1-7mdk
> libGLU.so.3 is needed by xlockmore-4.15-3mdk
> libGLU.so.3 is needed by xtraceroute-0.8.14-7mdk
> libGLU.so.3 is needed by perl-PDL-2.003-4mdk
> libglut.so.3 is needed by Mesa-demos-3.1-2mdk
>
> Should I remove the old X server first, or remove other packages, or should
> I force the installation of these rpm's without regard to any of the
> dependecies.
>
> I assume since these RPM's exist, there have been successful installs of
> version 4 on Mandrake. How was this done?
>
> Thanks for any help,
>
> Tony Webster