Compatible Support Forums: mplayer dependencies

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

mplayer dependencies

#1 User is offline   mblanco2000 

  • stranger
  • Group: Members
  • Posts: 5
  • Joined: 05-December 03

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.
0

#2 User is offline   Admiral LSD 

  • old hand
  • Group: Members
  • Posts: 991
  • Joined: 14-August 01

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.
0

#3 User is offline   Philipp 

  • Pooh-Bah
  • Group: Administrators
  • Posts: 1964
  • Joined: 15-July 99

Posted 07 December 2003 - 05:45 PM

Using the force option is now a good idea.

Instead download YUM from http://shrike.freshrpms.net/rpm.html?id=1559 and change the /etc/yum.conf like this:
Code:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
gpgcheck=1
tolerant=1
exactarch=1

[os]
name=Red Hat Linux $releasever - $basearch - os
baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/os

[updates]
name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/updates

[freshrpms]
name=Red Hat Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/redhat/$releasever/$basearch/freshrpms


Now you can run yum install mplayer to install mplayer smile
0

#4 User is offline   Admiral LSD 

  • old hand
  • Group: Members
  • Posts: 991
  • Joined: 14-August 01

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.
0

#5 User is offline   kevman 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 17-January 05

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)
0

#6 User is offline   iamroot 

  • addict
  • Group: Members
  • Posts: 501
  • Joined: 06-April 04

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users