Problem installing SDL rpm in Fedora Linux

I’m trying to install the SDL rpm on my Linux computer.

I give it the command:
rpm -i SDL-1.2.9-1.i386.rpm

I get the message:
file /usr/lib/libSDL-1.2.so.0 from install of SDL-1.2.9-1 conflicts with file
from package SDL-1.2.7-3

I am still faily new to linux, and if anyone could help me along with this, i’d
appreciate it.

Thank you very much
Michael

You should use -U instead (Update an existing package).

Michael a ?crit :> I’m trying to install the SDL rpm on my Linux computer.

I give it the command:
rpm -i SDL-1.2.9-1.i386.rpm

I get the message:
file /usr/lib/libSDL-1.2.so.0 from install of SDL-1.2.9-1 conflicts with file
from package SDL-1.2.7-3

I am still faily new to linux, and if anyone could help me along with this, i’d
appreciate it.

Thank you very much
Michael


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

William Petiot [exoide] <william exoide.com> writes:

You should use -U instead (Update an existing package).

Well I tried that, and now it tell me:
error: Failed dependencies:
SDL = 1.2.7-3 is needed by (installed) SDL-devel-1.2.7-3
I thought maybe I needed to install 1.2.7-3, tried that, tells me its already
installed.
this RPM thing is really starting to confuse me.

Please help!

Thank you,
Michael

You should not use rpm directly, but use yum.

yum update SDL

  • Erwin

BTW: SDL 1.2.7 sounds old, what version of Fedora Core are you using ?On Tue, 2006-03-28 at 21:21 +0000, Michael wrote:

William Petiot [exoide] <william exoide.com> writes:

You should use -U instead (Update an existing package).

Well I tried that, and now it tell me:
error: Failed dependencies:
SDL = 1.2.7-3 is needed by (installed) SDL-devel-1.2.7-3
I thought maybe I needed to install 1.2.7-3, tried that, tells me its already
installed.
this RPM thing is really starting to confuse me.

Please help!

I’m using 2.0, i’m not familiar with Yum. Is it an app? or a command??

SDL-devel package permits to program with SDL.
rpm is telling you that another package needs to be upgraded (SDL-devel)
if you want to update your main SDL package.

You could do this:
download SDL-devel-1.2.9 rpm and SDL-1.2.9 rpm
and then tell rpm to update the 2 packages at the same time :
rpm -U SDL-devel-1.2.9.rpm SDL-1.2.9.rpm
(or whatever is really called the new packages files).

Or use a graphical tool that handles all those dependencies for you.>>> You should use -U instead (Update an existing package).

Well I tried that, and now it tell me:
error: Failed dependencies:
SDL = 1.2.7-3 is needed by (installed) SDL-devel-1.2.7-3

Hi Michael,

I’m using 2.0, i’m not familiar with Yum. Is it an app? or a command??

yum is one of the most important tools on every fedora system. It is the
same kind of application like apt-get on debian systems or yast on a
suse system. You should use yum to keep your system up to date or to
install new applications. So if you call “yum update” it will check for
new pakets and will download and install them on your system. You also
can call "yum install " to install new packages. In most
cases you won’t need to download any rpm from the net or to compile
something.

However, Fedora Core 2.0 is pretty old yet and should be upgraded
someday. Just Fedora Core 5 is avaible for download and FC2 should not
be supported anymore with important security updates. However, if you
want to update SDL you might want to try:
yum update sdl sdl-devel

or check what packages are avaible with
yum list sdl*

Regards,
Florian