Click to See Complete Forum and Search --> : Install rpm got problems


Vincent Wong
08-04-2001, 06:58 AM
I want to update the SDL libary of my Redhat because a new software needs the latest version of SDL 1.2.

So I try to install it as follow .....

[root@localhost lib]# rpm -U SDL-1.2.2-1.i386.rpm
error: failed dependencies:
libSDL-1.1.so.0 is needed by smpeg-0.4.2-1
[root@localhost lib]# rpm -Uvh SDL-1.2.2-1.i386.rpm
error: failed dependencies:
libSDL-1.1.so.0 is needed by smpeg-0.4.2-1
[root@localhost lib]# rpm -i SDL-1.2.2-1.i386.rpm
file /usr/lib/libSDL-1.1.so.0 from install of SDL-1.2.2-1 conflicts with file from package SDL-1.1.8-1

Oh, it seems another rpm need to older version of SDL, but my new software needs a newer SDL version. SO what can I do?

Malakin
08-04-2001, 07:22 AM
If it complains about dependancies like that when you're installing something newer just force it with "rpm filename.rpm --force --nodeps". Note that sometimes the older files are needed and you should use -i instead, this would be the case if someone was installing qt2 on a qt1 system but with sdl it will be backwards compatible, if something stops working use "rpm filename.rpm -qpl" to see what exactly rpm installed and go check the sym links to see if they're screwed up. Yep it's confusing.

Vincent Wong
08-04-2001, 08:32 AM
Thanks, it works! :D