红联Linux门户
Linux帮助

centos 新手求助

发布时间:2012-01-11 16:49:13来源:红联作者:henanhunan
各位大侠好,我是个linux菜鸟,刚在虚拟机下装了centos6.2,我用yum install mplayer 安装mplayer时,总是提示错误,怎么安装libltdl.so.3、 libopenal.so.0、 libopenal.so.0,该如何解决呀?麻烦大家了


[root@centos 桌面]# yum install mplayer
Loaded plugins: fastestmirror, priorities, protectbase, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 3703.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 83 M RSS (128 MB VSZ)
Started: Wed Jan 11 16:43:14 2012 - 00:21 ago
State : Sleeping, pid: 3703
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 83 M RSS (128 MB VSZ)
Started: Wed Jan 11 16:43:14 2012 - 00:23 ago
State : Sleeping, pid: 3703
Loading mirror speeds from cached hostfile
* base: mirrors.stuhome.net
* epel: mirror.bjtu.edu.cn
* epel-source: mirror.bjtu.edu.cn
* extras: mirror.averse.net
* rpmforge: fr2.rpmfind.net
* rpmfusion-free-updates: mirror.bjtu.edu.cn
* rpmfusion-free-updates-testing: mirror.bjtu.edu.cn
* rpmfusion-nonfree-updates: ftp.sjtu.edu.cn
* rpmfusion-nonfree-updates-testing: ftp.sjtu.edu.cn
* updates: rsync.atworks.co.jp
2550 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mplayer.i386 0:1.0-0.46.svn20100703.el5.rf will be installed
--> Processing Dependency: libopencore-amrnb.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libliveMedia.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: liblirc_client.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libenca.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libcaca.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libgroupsock.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: liba52.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libdirac_decoder.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libfribidi.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libmad.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libUsageEnvironment.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libopenal.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libx264.so.107 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libesd.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libmp3lame.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libdirac_encoder.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libvga.so.1 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: liblzo2.so.2 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libfaac.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libass.so.4 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libBasicUsageEnvironment.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libmpg123.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libxvidcore.so.4 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libopencore-amrwb.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libdca.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Processing Dependency: libaa.so.1 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Running transaction check
---> Package a52dec.i386 0:0.7.4-8.el5.rf will be installed
---> Package aalib-libs.i686 0:1.4.0-0.18.rc5.el6.1 will be installed
---> Package dirac-libs.i686 0:1.0.2-4.el6 will be installed
---> Package enca.i386 0:1.10-1.el5.rf will be installed
---> Package esound-libs.i686 1:0.2.41-3.1.el6 will be installed
---> Package faac.i386 0:1.26-1.el5.rf will be installed
---> Package fribidi.i686 0:0.19.2-2.el6 will be installed
---> Package lame-libs.i686 0:3.98.4-2.el6 will be installed
---> Package libass.i386 0:0.9.11-1.el5.rf will be installed
---> Package libcaca.i386 0:0.99-0.1.beta17.el5.rf will be installed
--> Processing Dependency: libglut.so.3 for package: libcaca-0.99-0.1.beta17.el5.rf.i386
---> Package libdca.i386 0:0.0.5-1.el5.rf will be installed
---> Package libmad.i386 0:0.15.1b-4.el5.rf will be installed
---> Package lirc.i386 0:0.6.6-4.el5.rf will be installed
---> Package live555.i386 0:0-0.27.2010.04.09.el5.rf will be installed
---> Package lzo.i686 0:2.03-3.1.el6 will be installed
---> Package mpg123.i386 0:1.13.4-1.el5.rf will be installed
--> Processing Dependency: libltdl.so.3 for package: mpg123-1.13.4-1.el5.rf.i386
---> Package mplayer.i386 0:1.0-0.46.svn20100703.el5.rf will be installed
--> Processing Dependency: libopenal.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
---> Package opencore-amr.i386 0:0.1.2-1.el5.rf will be installed
---> Package svgalib.i386 0:1.9.25-1.el5.rf will be installed
---> Package x264.i386 0:0.0.0-0.4.20101111.el5.rf will be installed
---> Package xvidcore.i386 0:1.2.2-1.el5.rf will be installed
--> Running transaction check
---> Package freeglut.i686 0:2.6.0-1.el6 will be installed
---> Package mpg123.i386 0:1.13.4-1.el5.rf will be installed
--> Processing Dependency: libltdl.so.3 for package: mpg123-1.13.4-1.el5.rf.i386
---> Package mplayer.i386 0:1.0-0.46.svn20100703.el5.rf will be installed
--> Processing Dependency: libopenal.so.0 for package: mplayer-1.0-0.46.svn20100703.el5.rf.i386
--> Finished Dependency Resolution
Error: Package: mpg123-1.13.4-1.el5.rf.i386 (rpmforge)
Requires: libltdl.so.3
Error: Package: mplayer-1.0-0.46.svn20100703.el5.rf.i386 (rpmforge)
Requires: libopenal.so.0
Available: openal-0.0.8-2.el5.rf.i386 (rpmforge)
libopenal.so.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
文章评论

共有 14 条评论

  1. jevmok 于 2012-09-06 00:55:58发表:

    安装新的rpmforge,使用--replacefiles解决与旧版本冲入问题;
    yum clean all;
    然后再执行yum install mplayer 就可以。

  2. antfire_linux 于 2012-01-24 20:55:26发表:

    继续努力学习中。

  3. alick 于 2012-01-13 14:59:28发表:

    恭喜楼主已经解决了问题。
    至于rpmforge配置,正确的话应该是相应rpmforge的配置文件 /etc/yum.repos.d/ 中的
    .repo 文件里 baseurl/mirrorlist 里应该出现 $releasever 或者 6,是5的话肯定不对。
    不过我没用过这个源,具体还不清楚。还有问题的话可以贴出配置文件内容,大家看看。

  4. Kristyzhang 于 2012-01-13 14:07:48发表:

    新人,膜拜一下

  5. henanhunan 于 2012-01-13 13:04:52发表:

    感谢各位大侠的帮忙,刚刚误打误撞给装上了,写下解决过程,不知道对错,希望对其他碰到我这样问题的人有帮助。
    我是结合alick和紫色葡萄两位大侠的方法,首先我先把rpmforge源给禁用了,然后用yum install gnome-mplayer mplayer --enablerepo=atrpms 命令给装上。但是如果不先把rpmforge源给禁用而直接用后者命令去安装,还是会出现关于el5方面的错误,不知道为什么。

  6. henanhunan 于 2012-01-13 10:34:35发表:

    楼上说的对,我刚查看了,我是装错了rpmforge版本,但我把它卸载后又重装了版本6的,但还是出同样的错误,请问大侠们,是不是我的系统还是识别的老的rpmforge版本,没有识别新版本?那该如何修改rpmforge源配置啊?

  7. alick 于 2012-01-12 23:20:01发表:

    看出来了。楼主的rpmforge 软件源应该是配置错了,因而试图下载mplayer-1.0-0.46.svn20100703.el5.rf.i386
    注意里面写的 el5 意为适合 CENTOS 5 系列的。正常情况下需要 6 系列的才对。
    楼主可能需要更改 rpmforge 软件源的配置文件。

  8. enjoy545352 于 2012-01-12 18:46:03发表:

    踩踩,受教了~~~

  9. mudgao 于 2012-01-12 18:20:25发表:

    rpmfusion安了吗?看看的你源里有rpmfusion吗,建议你还是物理机fedora,虚拟机centos

  10. henanhunan 于 2012-01-12 17:23:50发表:

    回复楼上的,问题还是一样

  11. 紫色葡萄 于 2012-01-12 17:02:50发表:

    rpm -ivh http://dl.atrpms.net/all/atrpms-repo-6-5.el6.x86_64.rpm

    sed -i '/enable/{s/1/0/g} ' /etc/yum.resos.d/atrpms.repo

    yum install gnome-mplayer mplayer --enablerepo=atrpms

  12. syblyxy 于 2012-01-12 14:11:28发表:

    等待高手求解中

  13. henanhunan 于 2012-01-12 10:04:04发表:

    还是不行啊,还是提示:
    --> Finished Dependency Resolution
    Error: Package: mpg123-1.13.4-1.el5.rf.i386 (rpmforge)
    Requires: libltdl.so.3
    Error: Package: mplayer-1.0-0.46.svn20100703.el5.rf.i386 (rpmforge)
    Requires: libopenal.so.0
    Available: openal-0.0.8-2.el5.rf.i386 (rpmforge)
    libopenal.so.0
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    我搜索了自己的电脑,里面有libltdl.so.7没有libltdl.so.3,有 libopenal.so.1没有 libopenal.so.0,怎么解决呀?

  14. alick 于 2012-01-11 20:38:17发表:

    感觉可能是第三方软件源太多起冲突的缘故。这里 [1] 有提及这个问题。
    我建议楼主先禁用其他第三方软件源(EPEL,RPMFUSION等),只留下rpmforge,
    这样来安装mplayer试试。

    禁用的方法是在 /etc/yum.repos.d/ 下相应的 .repo 文件中将 enabled=1 改成 enabled=0。
    一般建议所有的第三方源都默认禁用,仅在需要时在命令行上开启,如[code]yum --enablerepo=rpmforge install mplayer[/code][1] http://www.thegibson.org/blog/archives/531