LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install RealPlayer getting unresolvable dependencies (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-realplayer-getting-unresolvable-dependencies-4175425616/)

Miranden 09-04-2012 01:41 PM

Trying to install RealPlayer getting unresolvable dependencies
 
Hi,

I need to play .rm files, and I cannot seem to get RealPlayer installed. Running Xubuntu 11.10. I've downloaded the RealPlayer11GOLD.deb file from here:

http://uk.real.com/realplayer/other_versions.html


and then I did this:

Code:

root@desktop:/home/owner/Downloads# chmod a+x RealPlayer*
root@desktop:/home/owner/Downloads# ./RealPlayer*
./RealPlayer11GOLD.deb: line 1: syntax error near unexpected token `newline'
./RealPlayer11GOLD.deb: line 1: `!<arch>'
root@desktop:/home/owner/Downloads# ls
Alfred Hitchcock Presents Back for Christmas (1956).avi
Alfred Hitchcock - TV Collection
RealPlayer11GOLD.deb

I did not know what that meant, so I tried this:

Code:

root@desktop:/home/owner/Downloads# dpkg -i RealPlayer11GOLD.deb
Selecting previously deselected package realplay.
(Reading database ... 296471 files and directories currently installed.)
Unpacking realplay (from RealPlayer11GOLD.deb) ...
dpkg: dependency problems prevent configuration of realplay:
 realplay depends on lsb (>= 3.1); however:
  Package lsb is not installed.
dpkg: error processing realplay (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 realplay
root@desktop:/home/owner/Downloads# apt-get install lsb
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 lsb : Depends: lsb-core but it is not going to be installed
      Depends: lsb-graphics but it is not going to be installed
      Depends: lsb-cxx but it is not going to be installed
      Depends: lsb-desktop but it is not going to be installed
      Depends: lsb-printing but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I did not know what it meant by 'apt-get -f install' with no packages, so I tried to install the lsb package through Synaptic. But I get a pop up window that says:

Quote:

Could not mark all packages for installation or upgrade:

The following packages have unresolvable dependencies. Make sure all that all required repositories are added and enabled in the preferences.

lsb
Depends: lsb-desktop but it is not going to be installed
In the repositories section under settings, I checked every box that is there in both Ubuntu Software Sources and Other Software. Is there something else I need to do?

Also, I tried going the lsb-desktop package in Synaptic and marking it for installation manually, but it also has dependencies, and those dependencies have dependencies as well. So I followed the dependedcy tree about four levels deep, until I found that one of the dependencies I supposedly needed to install (libqt4-script) was already marked as installed. So I can't install that one, and Synaptic will not let me install anything else because it says I need it.

So now I am wondering what to do next, but I'm also unsure why this is happening at all. I thought Synaptic was supposed to resolve depencies automatically. Is something broken, or is there some option configured wrong?

Thanks.

ijiboom 09-04-2012 06:21 PM

Just use VLC to run your .rm files, Realplayer is not even supported anymore...

ijiboom 09-04-2012 06:23 PM

And if you really insist on using realplayer, get lsb by typing
Code:

sudo apt-get install lsb
The dependencies should be met, and you will have your realplayer package installable

craigevil 09-04-2012 07:19 PM

As previously suggested install VLC or mplayer.

RestrictedFormats - Community Ubuntu Documentation - https://help.ubuntu.com/community/RestrictedFormats

Miranden 09-04-2012 07:52 PM

I'd love to play them in vlc--it's my favorite player. But it won't play them. As I understod it, it could not legally support the proprietary .rm format.

edit- sorry, just saw the bit about the restricted-extras package... thanks for that! Will try.

frankbell 09-04-2012 09:02 PM

I have not gotten VLC to play Real formats, but I haven't tried too hard because I have some legacy copies of Real Player.

If you have to play *.rm files, you may need to track down and install the dependencies. Note that, when you resolve one dependency, you may get an error message notifying you of a second one, and so on. It's a drag, but it's also good experience.

I do have some *.rm files I like to play (mostly old time radio), but I was lucky enough to grab it before they discontinued Linux support.

TroN-0074 09-04-2012 10:41 PM

confirmed VLC plays rmp files. I didnt know until I saw this thread, then I went to test an old video I have in that format and VLC plays it just fine.
I am using VLC 2.0.3 codename Twoflower all the necesary codec are installed in my Ubuntu computer from the Ubuntu repo.

I also had installed realmedia player but during the upgrade to 12.04LTS that software got ditched by the upgrading tool. I wont be installing it anymore.

Good luck to you.

Miranden 09-05-2012 09:02 AM

I was not able to get VLC to play .rm files with the restricted-extras package. So now I'm back to trying to install RealPlayer.

Quote:

Originally Posted by ijiboom (Post 4772719)
And if you really insist on using realplayer, get lsb by typing
Code:

sudo apt-get install lsb
The dependencies should be met, and you will have your realplayer package installable

No, because lsb has dependencies as well. And those dependencies have dependencies as well. I would be happy to try to track them down if I need to, but I think I need some advice on how to do that. Here is what I have been doing:

Code:

root@desktop:/home/owner# apt-get install lsb
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lsb : Depends: lsb-desktop but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@desktop:/home/owner# apt-get install lsb-desktop
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lsb-desktop : Depends: libqt4-gui (>= 4.3) but it is not going to be installed
              Depends: libqt4-sql-sqlite but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@desktop:/home/owner# apt-get install libqt4-gui
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libqt4-gui : Depends: libqt4-designer (= 4:4.7.4-0ubuntu8) but it is not going to be installed
              Depends: libqt4-opengl (= 4:4.7.4-0ubuntu8) but it is not going to be installed
              Depends: libqt4-svg (= 4:4.7.4-0ubuntu8) but it is not going to be installed
              Depends: libqtgui4 (= 4:4.7.4-0ubuntu8) but 4:4.7.4-0ubuntu8.1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@desktop:/home/owner#

So I would like to understand why there is no way to resolve these dependencies automaticallly. Is it because RealPlayer is no longer supported? I thought that just meant they were not releasing updates anymore. Clearly someone has already told the package manager what the dependencies are, or it would not be able to tell me about them, as it is doing. So why can it not install them automatically? Is this not how it is done? Can someone explain this to me please? :)

Is what I am doing, going all the way down the tree like this, the way I should be doing it? If not, what should I do?

Also, what does it mean about "you have held broken packages?" It is only talking about whatever package I am trying to install (with the unmet dependencies), or is it referring to something already on my system?

Thanks to everyone for their replies!

@TroN-0074: I would just as happy to get them to play in VLC as you have, but when I tried to update my version of VLC, it does the same thing with not resolving dependencies.

Miranden 09-05-2012 09:27 AM

I removed VLC earlier in an attempt to upgrade to the newer version suggested by TroN-0074. HOwever, now I cannot install it. When I try to do so in Synaptic, it gives me the same sort of unresolvable dependencies error that says:

Quote:

vlc:
Depends: vlc-nox (=1.1.11-2build2) but 1.1.12-2~oneiric1 is to be installed
Recommends: vlc-plugin-notify (=1.1.11-2build2) but 1.1.12-2~oneiric1 is to be installed
Recommends: vlc-plugin-pulse (=1.1.11-2build2) but 1.1.12-2~oneiric1 is to be installed

When I try through the terminal, it also gives errors about further and further dependencies. Now I have no media player at all. :( Why are these dependencies not being resolved?

knudfl 09-05-2012 10:24 AM

Synaptic :
Looks like you will have to use the Refresh button, to update the file lists.


Or use : sudo apt-get update

Kallaste 09-05-2012 10:25 AM

Accidental post

TroN-0074 09-05-2012 10:27 AM

I got the latest VLC when I upgrade to Ubuntu 12.04 LTS. You can perhaps go to the videland web site and find a PPA to add to your software sources. Then you can Install it that way.

Good luck to you.

Kallaste 09-05-2012 10:30 AM

removed: accidental post

Kallaste 09-05-2012 11:53 AM

removed: accidental post

Miranden 09-05-2012 12:01 PM

Quote:

Originally Posted by TroN-0074 (Post 4773334)
I got the latest VLC when I upgrade to Ubuntu 12.04 LTS. You can perhaps go to the videland web site and find a PPA to add to your software sources. Then you can Install it that way.

Good luck to you.

Thank you. I will try that.


All times are GMT -5. The time now is 02:24 PM.