Jump to content


mplayer dependencies

  • Please log in to reply
5 replies to this topic

#1 mblanco2000



  • Members
  • 5 posts

Posted 05 December 2003 - 10:58 PM

I am having trouble installing mplayer rpms on my machine. Currently running RH9.

I am running into dependecies problems:

[root@localhost mplayer]# rpm -Uvh mplayer-common-0.92-1.i386.rpm

error: Failed dependencies:
mplayer = 0.92 is needed by mplayer-common-0.92-1

So then I will run:

[root@localhost mplayer]# rpm -Uvh mplayer-0.92-1.i386.rpm

error: Failed dependencies:
mplayer-common = 0.92 is needed by mplayer-0.92-1

Each one is calling for the other one. It is like a never ending circle. Can someone please help.

#2 Admiral LSD

Admiral LSD

    old hand

  • Members
  • 991 posts

Posted 06 December 2003 - 04:09 PM

Isn't RPM wonderful? It was crap like that that forced RH8.0 off my machine and made me vow never to install another RPM-based distro again.

If you really want to persist with Red Hat and RPM though you could try using the force parameter (-f I think but check the RPM man page) on both packages to tell RPM to ignore the failed dependencies and install them anyway.

#3 Philipp



  • Administrators
  • 1964 posts

Posted 07 December 2003 - 05:45 PM

Using the force option is now a good idea.

Instead download YUM from http://shrike.freshr...pm.html?id=1559 and change the /etc/yum.conf like this:

name=Red Hat Linux $releasever - $basearch - os

name=Red Hat Linux $releasever - $basearch - updates

name=Red Hat Linux $releasever - $basearch - freshrpms

Now you can run yum install mplayer to install mplayer smile

#4 Admiral LSD

Admiral LSD

    old hand

  • Members
  • 991 posts

Posted 09 December 2003 - 06:24 AM

A better solution would be the people creating the RPMs getting a bit of sense and supplying stuff like this as a single package instead of trying to split it up into as many components as possible regardless of whether or not those components are useful on their own. This isn't such a bad thing in packages such as Samba or MySQL, which allow you to seperate the server from the client, but with mplayer and the Mozilla packages I had so much trouble with it's just ridiculous. YUM doesn't eliminate the problem (you'll probably find it calls RPM with -f to deal with it itself) it just sweeps it under the carpet.

#5 kevman



  • Members
  • 1 posts

Posted 17 January 2005 - 08:53 AM

or you could "rpm -Uhv" and list the packages on one line that will work

Oh, and --force is to replace files in overlapping packages
--nodeps is what you probably meant ( it will install regardless of anything)

#6 iamroot



  • Members
  • 501 posts

Posted 17 January 2005 - 09:50 AM

You will have to install mpalyer adn mplayer-common together in one line. it will go something like this

rpm -Uvh mplayer------ mplayer-common-----

It will work out. No need for Yum or Apt in this case.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq