LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1817|回复: 11

为什么在FC6下用yum安装mplayer不成功?

[复制链接]
发表于 2006-11-6 15:32:37 | 显示全部楼层 |阅读模式
[root@localhost ~]# yum install mplayer
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras                    100% |=========================| 1.1 kB    00:02     
updates                   100% |=========================| 1.2 kB    00:00     
core                      100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 1.2 MB    06:34     
http://ftp.lug.ro/fedora/linux/e ... ata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz            100% |=========================| 1.3 MB    03:05     
################################################## 4040/4040
Parsing package install arguments
No Match for argument: mplayer
Nothing to do
[root@localhost ~]# mplayer
bash: mplayer: command not found
[root@localhost ~]# yum install mplayer-gui
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: mplayer-gui
Nothing to do
[root@localhost ~]# gmplayer
bash: gmplayer: command not found
发表于 2006-11-6 19:05:23 | 显示全部楼层
你得添加第三方的源, liva 或 freshrpms
回复 支持 反对

使用道具 举报

发表于 2006-11-6 20:20:18 | 显示全部楼层
请问怎样添加源啊?
回复 支持 反对

使用道具 举报

发表于 2006-11-6 20:27:46 | 显示全部楼层
rpm -ivh http://rpm.livna.org/livna-release-6.rpm
这个是livna的源
回复 支持 反对

使用道具 举报

发表于 2006-11-6 20:27:48 | 显示全部楼层
rpm -ivh http://rpm.livna.org/livna-release-6.rpm
这个是livna的源
回复 支持 反对

使用道具 举报

发表于 2006-11-6 21:49:01 | 显示全部楼层
另外请注意 liva 的源和其他的源有冲突,最好不要都安装,都安装的话注意不要默认都
enable,否则 yum update 的时候可能会混乱的。
回复 支持 反对

使用道具 举报

发表于 2006-11-20 19:10:10 | 显示全部楼层
如何查看自己现在用的是哪的源?
回复 支持 反对

使用道具 举报

发表于 2006-11-20 19:12:16 | 显示全部楼层
建议用yumex安装
回复 支持 反对

使用道具 举报

发表于 2006-11-20 19:53:40 | 显示全部楼层
Post by jasper0828
如何查看自己现在用的是哪的源?

命令:
grep -r "enabled=1" /etc/yum.repos.d

[yichi@localhost gnu_files]$ grep -r "enabled=1" /etc/yum.repos.d
/etc/yum.repos.d/fedora-extras.repo:enabled=1
/etc/yum.repos.d/fedora-updates.repo:enabled=1
/etc/yum.repos.d/fedora-core.repo:enabled=1
/etc/yum.repos.d/livna.repo:enabled=1

yum update 的时候也会显示的。
[root@localhost yichi]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
livna                     100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================| 1.2 kB    00:01     
core                      100% |=========================| 1.1 kB    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
Reading repository metadata in from local files
No Packages marked for Update/Obsoletion
回复 支持 反对

使用道具 举报

发表于 2006-11-20 23:31:27 | 显示全部楼层
我用的是FC5,安装完了这个源以后,myplayer可以装了。
http://rpm.livna.org/fedora/5/i3 ... -release-0-5-8.html
在这里谢谢:)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表