LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2006-11-6 15:33:16 | 显示全部楼层 |阅读模式
[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 15:39:30 | 显示全部楼层
你好像没有添加源吧
Atrpms.net
Freshrpms.net
Dries.ulyssis.org
rpm.livna.org这几个源一般都要添加
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-6 15:48:37 | 显示全部楼层
怎样添加,能不能把具体命令打出来
回复 支持 反对

使用道具 举报

发表于 2006-11-6 15:58:11 | 显示全部楼层
参考http://fedora.linuxsir.cn/
其中 关于Fedora Core 5.0 通过Yum在线升级说明
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-6 16:02:15 | 显示全部楼层
等我看看,谢谢你!
回复 支持 反对

使用道具 举报

发表于 2006-11-6 16:07:00 | 显示全部楼层

注意:atrpms的rpm安装完后,还须导入GPG key

livna和freshrpms不要再导入GPG key了,在其配置文件中已经有了GPG key的导入方法了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-6 16:37:52 | 显示全部楼层
按楼上的安装源后,还有错误:

[root@localhost ~]# yum install mplayer
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna                     100% |=========================| 1.1 kB    00:00     
Could not retrieve mirrorlist http://mirrors.fedoraproject.org ... ore-6&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
Error: Cannot find a valid baseurl for repo: core
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-6 16:44:58 | 显示全部楼层
再输入yum install mplayer,每次错误信息都不同!
回复 支持 反对

使用道具 举报

发表于 2006-11-9 10:59:16 | 显示全部楼层
urlopen error  Error: Cannot find a valid baseurl for repo: core

这是你的core url不对。检查一下你的fedora-core.repo文件。尤其是mirrorlist项
\etc\yum.repos.d\fedora-core.repo
我没碰到过这种错,经验不多。
Setting up repositories
livna 100% |=========================| 1.1 kB 00:00

添加livna是通过了呀,mplayer-gui在livna上,应该能装的吧?不过,依赖关系少不了core
回复 支持 反对

使用道具 举报

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

本版积分规则

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