LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RedHat 9 mplayer Failed Dependencies problem (https://www.linuxquestions.org/questions/red-hat-31/redhat-9-mplayer-failed-dependencies-problem-228911/)

shawnb 09-10-2004 07:30 AM

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?

salparadise 09-10-2004 09:41 AM

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

shawnb 09-13-2004 05:35 PM

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

salparadise 09-14-2004 12:16 AM

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)

RH9guy 10-03-2004 04:18 PM

:newbie: 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?:scratch: 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.

salparadise 10-03-2004 11:12 PM

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

misc 10-05-2004 06:41 AM

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

RH9guy 10-05-2004 08:21 PM

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?

krm0626 10-05-2004 09:52 PM

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

salparadise 10-05-2004 11:54 PM

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.

misc 10-06-2004 06:34 AM

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! :tisk:

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?

jhon_s 10-07-2004 05:06 PM

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

RH9guy 10-12-2004 10:08 PM

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.

salparadise 10-13-2004 12:55 AM

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

misc 10-13-2004 07:17 AM

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.

RH9guy 10-24-2004 06:04 PM

OK, I'm still screwing with this mplayer crap :mad: . If you go to www.stlcardinals.com or any other mlb site, click on one of the video feeds that they offer. This is the end result I want to get to. When I use Mozilla (the old version in RH9, I get a nice little window that pops up and says:

This page contains information of a type (application/x-mplayer2) that can only be viewed with the appropriate Plug-in.

Now keep in mind, I downloaded apt-get, ran the update command, ran the install command (no errors), and everything seemed to go just fine, except it doesn't work. :confused:

If someone would be nice enough to take the time to go to that site and see if they have something that can solve this dilemma I would be greatly appreciative. I am open to alternative programs -if they will play what I need- otherwise I am going to have to go back to Windows, at least partially (and I really don't want to do that!!!). So someone please save me. :cry:

Thanks in advance once again guys. I have gotten a lot further with the info you have given me than I ever would have alone. :)

misc 10-24-2004 06:44 PM

That means, the mplayer plug-in is not installed or is not installed correctly. When you load the URL "about:plugins" in Mozilla (or select menu Help > About Plug-ins), is application/x-mplayer2 listed as supported?

In addition to installing mplayer and mplayer plug-in, you may need to install a win32 codec package from some of the sites which offer legally questionable packages.
Quote:

otherwise I am going to have to go back to Windows,
What's that? A threat? I don't care...

RH9guy 10-24-2004 08:41 PM

Quote:

What's that? A threat? I don't care...
What kind of question is that?! I'm just stating my distaste for Windows, that's all.


All times are GMT -5. The time now is 10:29 PM.