LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-10-2004, 07:30 AM   #1
shawnb
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
Question RedHat 9 mplayer Failed Dependencies problem


I'm kinda of a newb, so you'll have to excuse me
OK so i dled the mplayer from this site
http://luna.cs.ccsu.edu/dominik/mplayer/downloads.html
and i checked if i had all the necessary requirements and i did, but then when i try to do the whole rpm -Uvh thing, this is what i get

rpm -Uvh mplayer-common-1.0pre5-1.i386.rpm
warning: mplayer-common-1.0pre5-1.i386.rpm: V3 DSA signature: NOKEY, key ID 75aa026a
error: Failed dependencies:
mplayer = 2:1.0pre5 is needed by mplayer-common-1.0pre5-1

so i dled the mplayer command line version, and did the same thing...but i still got the same failed dependencies answer. I know you probably gotten this question before, but i couldn't find it in the forums, so if u can, please help me out?
 
Old 09-10-2004, 09:41 AM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
go here
http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/

and download apt
install it

then, from a terminal as root, type

apt-get update

when it's finished, still as root, type

apt-get install mplayer


apt will take care of the deps and the versions

(also , there is synaptic - a GUI for apt)

apt-get install synaptic

hope this helps
 
Old 09-13-2004, 05:35 PM   #3
shawnb
LQ Newbie
 
Registered: Aug 2004
Posts: 8

Original Poster
Rep: Reputation: 0
IS this a problem?

W: There are multiple versions of "j2re" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^j2re$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems

I also got this when i did apt get install mplayer

file /usr/share/mplayer/font from install of mplayer-fonts-1.1-2.0.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/de/man1/mencoder.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/de/man1/mplayer.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/fr/man1/mencoder.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/fr/man1/mplayer.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/hu/man1/mencoder.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/hu/man1/mplayer.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/man1/mencoder.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/man1/mplayer.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/pl/man1/mencoder.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/pl/man1/mplayer.1.gz from install of mplayer-1.0-0.11.pre5.0.rh9.dag conflicts with file from package mplayer-common-0.90rc2-1
E: Error while running transaction

Last edited by shawnb; 09-13-2004 at 09:36 PM.
 
Old 09-14-2004, 12:16 AM   #4
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
uninstall mplayer-common-0.90

rpm -e mplayer

OR

install the new version with

rpm -Uvh /name/of/file

rpm -i to install

rpm -U to upgrade (thus allowing for overwriting)

worth having a look to see if there's an option you can pass to apt on the command line to tell it to overwrite instead of stopping

man apt
would be a good place to start

If you do have two versions of j2re installed then find which is the newer and remove the older.
rpm -q name_of_file (reports version present)
 
Old 10-03-2004, 04:18 PM   #5
RH9guy
LQ Newbie
 
Registered: Oct 2004
Location: Florida USA
Distribution: RedHat 9.0
Posts: 6

Rep: Reputation: 0
I too am experiencing problems installing mplayer. I downloaded the apt and installed it, and when I tried to install mplayer it gave me the same failed dependancy message. What am I missing? I have had a linux system now for about four months and I really enjoy it. I need to get Real Player to work so I can watch baseball games over the internet. This is the only real hangup my wife has before I get her over to Linux as well. Your help and time is greatly appreciated.
 
Old 10-03-2004, 11:12 PM   #6
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
after you have installed apt, the first thing to do is to update it

apt-get update


then when it's finished

apt-get install mplayer
 
Old 10-05-2004, 06:41 AM   #7
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Quote:
error: Failed dependencies:
mplayer = 2:1.0pre5 is needed by mplayer-common-1.0pre5-1
This is a major FAQ everywhere. Give rpm multiple package file names at once: rpm -Uvh firstfile secondfile thirdfile ...

Or use shell wildcards to do that: rpm -Uvh mplayer*

http://fedorafaq.org -- http://fedoratracker.org
 
Old 10-05-2004, 08:21 PM   #8
RH9guy
LQ Newbie
 
Registered: Oct 2004
Location: Florida USA
Distribution: RedHat 9.0
Posts: 6

Rep: Reputation: 0
I did the suggested actions before posting, and one of the annoying dependency packages went away. But I'm still left with the following
warning: mplayer-common-1.0pre5-1.i386.rpm: V3 DSA signature: NOKEY, key ID 75aa026a
error: Failed dependencies:
mplayer = 2:1.0pre5 is needed by mplayer-common-1.0pre5-1
just like msc said. I have looked all over the internet for fixes and this site seems to be the only help I have been able to get. Firefox's plugin manager says it can't find "a suitable plugin". So now what? I tried to rpm it with the -nodeps option, but when I tried to open a video link Firefox shut down & generated a bug window for me to fill out & send off. I then rpm -e'd it & everything went back to normal. I'll try the apt -f option, but I bet I'll still need whatever mplayer file this thing is looking for. I greatly appreciate your help and am still in need of some assistance. Thanks in advance.

And by the way, I downloaded the Synaptic package using apt, and it will not launch:

Details: Failed to execute child process "gksu" (No such file or directory)

Is this a directory I can make & where? Or did something go awry?

Last edited by RH9guy; 10-05-2004 at 08:29 PM.
 
Old 10-05-2004, 09:52 PM   #9
krm0626
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
i didnt wanna post anything but I am hung up as well, big time. i followed the insructions word for word and what is boggling my mind is this error message "[root@localhost mplayer]# apt-get install mplayer
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package mplayer
[root@localhost mplayer]# "
i would really appreciate anyone who is willing to help us newbies out, thanks so much for any help in advance
 
Old 10-05-2004, 11:54 PM   #10
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
gksu is an application, it provides a graphical frontend for su

http://dag.wieers.com/home-made/apt/packages.php

this is a useful site for redhat/fedora stuff

if all else fails (and you have watching to do), try xine instead, (it's better than mplayer (IMO), easier to install, smaller and generally nicer looking)

the best advice I can give you is to keep trying. It took me some time to understand deps and rpm's and so on.
 
Old 10-06-2004, 06:34 AM   #11
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
RH9guy ,

okay, please slow down a bit. We're now dealing with several problems at once.

The original problem was "circular dependencies", which is solved by giving RPM multiple packages at once.

You, however, refer to Apt-Rpm, which solves dependencies differently. This changes the scenario a lot. First show what mplayer packages you have installed. Run this and don' t make any typing mistakes. Pay particular attention to the single quotes.

rpm --query --all 'mplayer*'

Then explain where you've pointed Apt-Rpm at to fetch new/different mplayer packages. If the repository chosen by you did only have an mplayer package, but no mplayer-common package (because of different packaging styles), Apt-Rpm would error out.

Quote:
Firefox's plugin manager says it can't find "a suitable plugin".
http://rpm.livna.org provides an mplayer plugin package, also gettable with Apt-Rpm.

Quote:
I tried to rpm it with the -nodeps option,
Don't do that!

Quote:
And by the way, I downloaded the Synaptic package using apt, and it will not launch:

Details: Failed to execute child process "gksu" (No such file or directory)
What package? From where? Installed how?
 
Old 10-07-2004, 05:06 PM   #12
jhon_s
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Wink mplayer-common = 2:1.0pre5 is needed by mplayer-gui-1.0pre5-1

i think you need this file
mplayer-common Documentation, config files and Type1 scalable OSD font (Nimbus Sans)

and you can get it at http://luna.cs.ccsu.edu/dominik/mplayer/downloads.html

Installation (one line):
rpm -Uvh mplayer-common-1.0pre5-2.i386.rpm mplayer-1.0pre5-2.i386.rpm
http://luna.cs.ccsu.edu/dominik/mplayer/downloads.html
 
Old 10-12-2004, 10:08 PM   #13
RH9guy
LQ Newbie
 
Registered: Oct 2004
Location: Florida USA
Distribution: RedHat 9.0
Posts: 6

Rep: Reputation: 0
Sorry I took so long to get back, and I didn't mean to confuse anyone. I downloaded the apt package that salparadise referred to. I tried to install the mplayer files using rpms and the apt commands (one at the time), both failed. I have many different mplayer files (all the ones it wants) and it still errors out when I use the rpm -Uvh mplayer* command. It starts to install and then gives me this:


[root@localhost plugins]# rpm -Uvh mpl*
warning: mplayer-1.0pre5-1.i386.rpm: V3 DSA signature: NOKEY, key ID 75aa026a
warning: mplayerplug-in-2.70-1.0.rh9.dag.i386.rpm: V3 DSA signature: NOKEY, key
ID 6b8d79e6
Preparing... ########################################### [100%]
file /usr/share/mplayer/font from install of mplayer-common-1.0pre5-1 conflicts with file from package mplayer-fonts-1.1-1.fr


Why is it conflicting and what can I do to resolve it?

These are all the packages I have in my plugins dir.

flashplayer.xpt
flash-plugin-7.0.25-1.i386.rpm
libflashplayer.so
libpostproc-1.0-0.11.pre5.0.rh9.dag.i386.rpm
mozilla-mplayer-0.95-1.rh90.test.i386.rpm
mpg123-0.59r
mplayer-1.0pre5-1.i386.rpm
mplayer-common-1.0pre5-1.i386.rpm
mplayerplug-in-2.70-1.0.rh9.dag.i386.rpm
nphelix.so
nphelix.xpt
plugger-5.1.3


For the second issue, the second post on this page refers to the Synaptic program. I downloaded it from the linked site and installed it, and that explains the error I got when I try to open it .
"
Can't launch entry

Details: Failed to execute child process "gksu" (No such file or directory)
"
I am not really worried about that problem, but if it will help me resolve the mplayer problem I will fix it if necessary.

Thanks again for your help and patience.
 
Old 10-13-2004, 12:55 AM   #14
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
ok

gksu is a gui frontend for su, and is somehow part of synaptic


you said you installed apt
did you run "apt-get update" as root from the command line before using apt to try and install things with?

the font problem is because the installed mplayer fonts have a more recent version number than the ones you are trying to install
remove with "rpm -e name.of.package"
then run the mplayer installation command again
 
Old 10-13-2004, 07:17 AM   #15
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Quote:
[root@localhost plugins]# rpm -Uvh mpl*
warning: mplayer-1.0pre5-1.i386.rpm: V3 DSA signature: NOKEY, key ID 75aa026a
warning: mplayerplug-in-2.70-1.0.rh9.dag.i386.rpm: V3 DSA signature: NOKEY, key
ID 6b8d79e6
Preparing... ########################################### [100%]
file /usr/share/mplayer/font from install of mplayer-common-1.0pre5-1 conflicts with file from package mplayer-fonts-1.1-1.fr


Why is it conflicting and what can I do to resolve it?
Installed already is a package mplayer-fonts-1.1-1.fr (looks like it is from freshrpms.net) which contains different files at the same location as files included in the packages you want to install. That is a file based conflict. Such conflicts occur when you mix too many repositories which don't coordinate their work with eachother.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed dependencies installing MPlayer qwerty Linux - Software 7 10-24-2005 04:10 PM
Failed dependencies, can't seem to find the right one (mplayer, fc2). brynjarh Linux - Newbie 1 07-08-2004 05:16 PM
Error: failed dependencies installing php-4.3.5 on redhat linux 9 lynsue Linux - Software 3 04-30-2004 04:50 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
Failed dependencies Umbrella Linux - Software 10 08-01-2003 06:11 PM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration