Yum install Mplayer* Error

Issues related to applications and software problems
kevinsir2003
Posts: 1
Joined: 2011/11/26 03:54:32

Yum install Mplayer* Error

Postby kevinsir2003 » 2011/11/26 04:20:59

I Add 'epel' and 'rpmforge' Repository in CentOS6.0
then Yum -y install Mplayer*
it shows error follows
---> Package qt3.i686 0:3.3.8b-29.el6 set to be updated
--> Finished Dependency Resolution
Error: Package: aalib-1.4.0-0.11.rc5.el5.i386 (epel)
Requires: libgpm.so.1
Error: Package: mpg123-1.13.4-1.el5.rf.i386 (rpmforge)
Requires: libltdl.so.3
I find libgpm.so.2 and libltdl.so.7 in the directory '/usr/lib'
I think maybe It's the version problem. But How Can I solve the problem?

Thanks

scottro
Forum Moderator
Posts: 2178
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Yum install Mplayer* Error

Postby scottro » 2011/11/26 13:57:12

Short answer.

I would temporarily disable both and use the atrpms for mplayer.

Create a file /etc/yum/repos.d/atrpms

Code: Select all


[atrpms]
name=CentOS6 $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/sl6-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1
/etc/yum.repos.d/atrpms.repo (END)


Longer answer

You should look at the wiki articles for various repos.

http://wiki.centos.org/AdditionalResources/Repositories

I'm finding that the atrpms repo has the more current versions of most multimedia programs so have been using it.


EPEL has some library versions that clash with the others.

If using atrpms, I would use the line

yum --disablerepo=epel-* install mplayer





baseurl=http://dl.atrpms.net/sl6-$basearch/atrpms/stable


(There's also some el6 ones on their site, but the above works well for me.)

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Yum install Mplayer* Error

Postby pschaff » 2011/11/30 16:20:03

scottro wrote:
...
Create a file /etc/yum/repos.d/atrpms


I believe Scott meant to say create /etc/yum.repos.d/atrpms.repo containing

Code: Select all

[atrpms]
name=CentOS6 $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/sl6-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1


You may also want to "yum install atrpms-repo" to get the official yum config.

Inserting a line "enabled=0" in the EPEL and RPMforge repo definitions will disable them by default, but leave them defined so you could do, for instance

Code: Select all

yum --enablerepo epel install ktorrent


EPEL, ATrpms, and RPMforge all have mutual incompatibilities so using only one of them will make life simpler. If you can't manage with that, then it gets quite tricky. Installing and configuring the yum priorities plugin via "yum install yum-plugin-priorities" is recommended.

scottro
Forum Moderator
Posts: 2178
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Yum install Mplayer* Error

Postby scottro » 2011/11/30 18:42:34

Thanks Phil. Yes, what Phil writes is correct.

(I've been sick, so I'm blaming it on that).

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Yum install Mplayer* Error

Postby pschaff » 2011/11/30 18:52:34

OT: We'll let it slide this time. :-)

Hope you are better soon.

scottro
Forum Moderator
Posts: 2178
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: Yum install Mplayer* Error

Postby scottro » 2011/11/30 21:40:54

Also, I hadn't realized that there was an atrpms-repo package, that makes it simpler. :-)

To the OP, DO heed Phil's advice about mixing repos. It really can cause problems with some of the multimedia stuff.


Return to “CentOS 6 - Software Support”

Who is online

Users browsing this forum: No registered users and 2 guests