Click to See Complete Forum and Search --> : how to update SDL


hetman
02-18-2002, 04:29 PM
i've got mandrake 8.1, with libSDL 1.2.2.1-mdk.
i want to update to the newer one using rpms, but when i try to update or install with:
# rpm -ivh SDL-1.2.3-1.i686.rpm
or
# rpm -Uvh SDL-1.2.3-1.i686.rpm
i get:
file /usr/lib/libSDL-1.2.so.0 from install of SDL-1.2.3-1 conflicts with file from package libSDL1.2-1.2.2-1mdk

and if i try the libSDL1.2-1.2.3-6mdk.i586.rpm i get
same kind of error.
is there a way to do this kind of update? it seems like dependencies screw you over all the time.
please help

bigrigdriver
02-18-2002, 06:43 PM
Since you already have SDL installed, probably your best option is to upgrade: rpm -Uvh, just add the --nodeps option to prevent checking for dependencies. rpm should upgrade the existing installation to the newer version, and preserve config files (probable with a .rpmsave or .orig extension). Just copy them back to the original file name to restore configs.

mdwatts
02-18-2002, 06:48 PM
Do it this way...

rpm -Uvh --test --replacefiles SDL-1.2.3-1.i686.rpm

and if no errors,

rpm -Uvh --replacefiles SDL-1.2.3-1.i686.rpm

hetman
02-19-2002, 06:27 AM
thanks!