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
Yum install Mplayer* Error
Re: Yum install Mplayer* Error
Short answer.
I would temporarily disable both and use the atrpms for mplayer.
Create a file /etc/yum/repos.d/atrpms
[code]
[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)
[/code]
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.)
I would temporarily disable both and use the atrpms for mplayer.
Create a file /etc/yum/repos.d/atrpms
[code]
[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)
[/code]
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.)
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Yum install Mplayer* Error
[quote]
scottro wrote:
...
Create a file /etc/yum/repos.d/atrpms[/quote]
I believe Scott meant to say create /etc/yum.repos.d/atrpms.repo containing
[code]
[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
[/code]
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]yum --enablerepo epel install ktorrent[/code]
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 [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url] via "yum install yum-plugin-priorities" is recommended.
scottro wrote:
...
Create a file /etc/yum/repos.d/atrpms[/quote]
I believe Scott meant to say create /etc/yum.repos.d/atrpms.repo containing
[code]
[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
[/code]
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]yum --enablerepo epel install ktorrent[/code]
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 [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url] via "yum install yum-plugin-priorities" is recommended.
Re: Yum install Mplayer* Error
Thanks Phil. Yes, what Phil writes is correct.
(I've been sick, so I'm blaming it on that).
(I've been sick, so I'm blaming it on that).
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Yum install Mplayer* Error
OT: We'll let it slide this time. :-)
Hope you are better soon.
Hope you are better soon.
Re: Yum install Mplayer* Error
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.
To the OP, DO heed Phil's advice about mixing repos. It really can cause problems with some of the multimedia stuff.