LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-01-2012, 02:42 AM   #1
alokatzenith
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Rep: Reputation: 1
problem in installing mplayer in ubuntu 12.04


Hello

I followed the following steps to install mplayer but getting error. Please help me

sudo add-apt-repository ppa:ripps818/coreavc
sudo apt-get update
sudo apt-get install mplayer

ubuntu@ubuntu:~$ sudo apt-get install mplayer
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:
mplayer : Depends: mplayer2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 
Old 09-01-2012, 03:06 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,125

Rep: Reputation: 262Reputation: 262Reputation: 262
Quote:
Originally Posted by alokatzenith View Post
I followed the following steps to install mplayer but getting error. Please help me

sudo add-apt-repository ppa:ripps818/coreavc
sudo apt-get update
sudo apt-get install mplayer
...
The problem here is that you are using one of those unsupported and unreliable PPA repos to install MPlayer. If you install the MPlayer from the standard Ubuntu repos it will work just fine.
The Ubuntu developers do not support those PPA repos. You install packages from those PPA repos at your own risk.
You need to understand that Ubuntu just works best when you stick with the packages that are provided in the standard Ubuntu repos. The more that you try to fight this, the more that you risk causing problems like this.
I always stick with the default Ubuntu repos, and I never have problems like this.

Last edited by tommcd; 09-01-2012 at 03:08 AM.
 
Old 09-01-2012, 03:14 AM   #3
alokatzenith
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 1
@tommcd:

Hello
Thanx for your reply
I am a newbie so I dont know much about ubuntu, I follwed what I found after googlin on the topic. Can you please suggest me some reliable ppa to rectify this problem.
 
Old 09-01-2012, 03:34 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,125

Rep: Reputation: 262Reputation: 262Reputation: 262
No, I can not.
As I said in my last post, just install the MPlayer that is provided in the standard Ubuntu repos.
Of course, you will need to purge that rogue PPA repo, then install MPLayer from the Ubuntu repos.

Why do you want to install MPlayer from a PPA instead of just installing the MPlayer that is already provided in the Ubuntu repos?
 
Old 09-01-2012, 04:46 AM   #5
alokatzenith
LQ Newbie
 
Registered: Aug 2007
Posts: 16

Original Poster
Rep: Reputation: 1
Bcecause I don't know how to do that. I did what I found after googling. Now trying to search method to install mplayer via ubuntu repo. It will be very helpful for me if you can tell me to do so.
 
1 members found this post helpful.
Old 09-01-2012, 04:51 AM   #6
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 609

Rep: Reputation: 86
You could easily enough rid yourself of the PPA and simply install MPlayer with something like:

Code:
sudo apt-get install mplayer smplayer
which is what tommcd is suggesting . I run a guide for building a more up to date version if you are ever interested:

Howto: Build the svn MPlayer under the latest release version of Ubuntu
http://www.andrews-corner.org/mplayer.html

but perhaps the repository MPlayer with SMPlayer might be enough....
 
Old 09-02-2012, 09:32 AM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,125

Rep: Reputation: 262Reputation: 262Reputation: 262
Quote:
Originally Posted by alokatzenith View Post
Bcecause I don't know how to do that. I did what I found after googling. Now trying to search method to install mplayer via ubuntu repo. It will be very helpful for me if you can tell me to do so.
First, completely remove any MPLayer that you have installed:
Code:
sudo apt-get remove --purge mplayer
Then you should remove that MPlayer PPA repo that you added because it is obviously not working for you. See this to remove PPA repos:
See this: http://askubuntu.com/questions/307/h...pas-be-removed
The command to remove your MPlayer PPA would be:
Code:
sudo add-apt-repository --remove ppa:ripps818/coreavc
You can also remove PPA repos with ppa-purge. First install ppa-purge:
Code:
sudo apt-get install ppa-purge
Then to remove your MPlayer PPA:
Code:
sudo ppa-purge ppa:ripps818/coreavc
See this: http://www.upubuntu.com/2012/02/how-...icial-ppa.html
And see this to get a graphical tool to use ppa-purge by installing ubuntu-tweak:
http://www.howtogeek.com/howto/29584...ons-in-ubuntu/

Then update your repositories now that MPlayer and that PPA have been purged:
Code:
sudo apt-get update
Then finally install the MPlayer from the standard Ubuntu repos:
Code:
sudo apt-get install mplayer
You could also add the smplayer (a user friendly front end for MPlayer) that Andrew 46 suggested if you wish:
Code:
sudo apt-get install mplayer smplayer
The smplayer does make a nice GUI front end for MPlayer: http://smplayer.sourceforge.net/

Please understand that the packages in the standard Ubuntu repos should always bo your first choice for installing any software on Ubuntu. Those are that packages that the Ubuntu developers have tested and are known to work on Ubuntu.
See this tutorial for installing software on Ubuntu:
http://psychocats.net/ubuntu/installingsoftware
If you are new to Linux and Ubuntu, I would strongly recommend that you read that entire website. It is a very good beginner's introduction to Ubuntu and Linux.

Last edited by tommcd; 09-02-2012 at 09:57 AM. Reason: to add clarity to my post. The content is unchanged.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie needs help: installing Mplayer on Ubuntu O-pos Linux - Software 10 04-13-2007 05:45 PM
Problem while installing Mplayer hi_msh Linux - Software 9 01-14-2006 09:47 AM
problem installing mplayer thearchitect Linux - Software 1 11-17-2005 04:56 AM
problem installing mplayer linuxboy_inside Linux - Software 15 04-02-2004 11:27 PM
Problem with installing mplayer.... avols143 Linux - General 2 02-20-2004 06:34 AM


All times are GMT -5. The time now is 05:36 AM.

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
Open Source Consulting | Domain Registration