免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2927 | 回复: 10
打印 上一主题 下一主题

yum 不能用...急 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-11 01:01 |只看该作者 |倒序浏览
[root@localhost joesin]# yum install php
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: php
Nothing to do
--------------------------------------------------------------------
老是出现上面的错误,哪位高手给指点一下阿,

论坛徽章:
0
2 [报告]
发表于 2006-11-11 01:11 |只看该作者
原帖由 joesin 于 2006-11-11 01:01 发表
[root@localhost joesin]# yum install php
No Match for argument: php
Nothing to do


这两段英文我建议你翻一下字典。

另外请执行:

  1. yum list | grep php
复制代码


请确定好你要装的 php package 完整名称后才使用 yum install 来安装。

--

论坛徽章:
0
3 [报告]
发表于 2006-11-11 01:34 |只看该作者
非常感谢你的回复

我的 yum.conf是这样的
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
~
你看有什么问题没?

论坛徽章:
0
4 [报告]
发表于 2006-11-11 01:35 |只看该作者
#yum list 全部都是 installed....

论坛徽章:
0
5 [报告]
发表于 2006-11-11 01:39 |只看该作者
[root@localhost joesin]# yum install gxine-0.4.1-1.2.el4.rf.i386.rpm
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Examining gxine-0.4.1-1.2.el4.rf.i386.rpm: gxine - 0.4.1-1.2.el4.rf.i386
Marking gxine-0.4.1-1.2.el4.rf.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gxine.i386 0:0.4.1-1.2.el4.rf set to be updated
--> Running transaction check
--> Processing Dependency: libxine.so.1 for package: gxine
--> Processing Dependency: xine-lib >= 1.0.0 for package: gxine
--> Finished Dependency Resolution
Error: Missing Dependency: libxine.so.1 is needed by package gxine
Error: Missing Dependency: xine-lib >= 1.0.0 is needed by package gxine
[root@localhost joesin]#

论坛徽章:
0
6 [报告]
发表于 2006-11-11 01:42 |只看该作者
原帖由 joesin 于 2006-11-11 01:35 发表
#yum list 全部都是 installed....


yum search

--

论坛徽章:
0
7 [报告]
发表于 2006-11-11 01:53 |只看该作者
能不能 把你的yum.conf发给我 看看.

论坛徽章:
0
8 [报告]
发表于 2006-11-11 01:55 |只看该作者
[root@localhost ~]# yum search php
Searching Packages:
Setting up repositories
http://download.stmc.edu.hk/fedo ... epodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
[root@localhost ~]#
这里的 repomd.xml不知道是什么东东,
很明显 yum server 有问题

论坛徽章:
0
9 [报告]
发表于 2006-11-11 09:09 |只看该作者
又沉下去了,自己给顶一下:_)

哪位大哥给帮帮忙啊,

论坛徽章:
0
10 [报告]
发表于 2006-11-11 09:28 |只看该作者
yum clean all
yum search php

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP