免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: huihuiqi
打印 上一主题 下一主题

yum安装上了!但是新问题:No Match for argument出现了! [复制链接]

论坛徽章:
0
11 [报告]
发表于 2009-04-16 15:46 |只看该作者

有了进步,但是出现新的问题~

http://www.swsoft.com.cn/downloads/Prima/Tools/yum_forAS4.tar.gz
下载并解压缩yum包和升级文件
rpm -ivh *.rpm
将解压缩后得到的CentOS-Base.repo复制到/etc/yum.repos.d/目录里边
执行如下命令:
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
导入GPG Key
试着安装lynx字符浏览器:yum -y install lynx
出现如下:
*****************************************************************
Warning, could not load sqlite, falling back to pickle
Repository base is listed more than once in the configuration
Repository update is listed more than once in the configuration
Setting up Install Process
Setting up repositories
update                    100% |=========================|  951 B    00:00
rpmforge                  100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  32 kB    01:47
http://mirror.centos.org/centos/ ... ata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from update: [Errno 256] No more mirrorsto try.
*****************************************************************
貌似装上了yum,也可以工作了,可是那个警告是什么?还有最后还是没成功的安装lynx!!!

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
12 [报告]
发表于 2009-04-16 15:47 |只看该作者
源都连接不上.楼主试试看加入163的源

论坛徽章:
0
13 [报告]
发表于 2009-04-16 15:58 |只看该作者
原帖由 chenyx 于 2009-4-16 15:47 发表
源都连接不上.楼主试试看加入163的源


哭着问:怎么加163的源?我得改哪里?
是根据那个warning判断的我的源连不上吗?

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
14 [报告]
发表于 2009-04-16 16:04 |只看该作者
http://mirror.centos.org/centos/ ... ata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from update: [Errno 256] No more mirrorsto try.

没有源

论坛徽章:
0
15 [报告]
发表于 2009-04-16 16:48 |只看该作者

在/etc/yum.repos.d/中加入dag.repo

仍然出现:
http://mirror.centos.org/centos/ ... ata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from update: [Errno 256] No more mirrorsto try.
唉,恕本人无才,我真不知道怎么加入163的源。
已经试遍了我能做的所有步骤……
我快崩溃了:em12:

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
16 [报告]
发表于 2009-04-16 16:53 |只看该作者

论坛徽章:
0
17 [报告]
发表于 2009-04-17 14:30 |只看该作者
[base]
name=Centos for RHEL4 - Base
baseurl=http://mirror.centos.org/centos/4/os/x86_64/

[updates]
name=Centos for RHEL4 - Updates
baseurl=http://mirror.centos.org/centos/4/updates/x86_64/

你的/etc/yum.conf是按照这样设置的吗?

论坛徽章:
0
18 [报告]
发表于 2009-04-17 21:04 |只看该作者
谢谢kns1024wh和chenyx的建议,我换了163的源,终于有些清楚你们说的了,感觉又有进步!
可是当我试图安装pcre-7.9的时候,最后显示:
Parsing package install arguments
No Match for argument: pcre-7.9
Nothing to do

论坛徽章:
0
19 [报告]
发表于 2009-04-17 21:09 |只看该作者
原帖由 licong_jay 于 2009-4-17 14:30 发表

name=Centos for RHEL4 - Base
baseurl=http://mirror.centos.org/centos/4/os/x86_64/


name=Centos for RHEL4 - Updates
baseurl=http://mirror.centos.org/centos/4/updates/x86_64/

你的/etc/yu ...


我的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
20 [报告]
发表于 2009-04-17 21:38 |只看该作者

我要安装snort-2.8.4可是......

yum -y install snort-2.8.4

Warning, could not load sqlite, falling back to pickle
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
dag       : ################################################## 10026/10026
update    : ################################################## 388/388
rpmforge  : ################################################## 10026/10026
base      : ################################################## 1830/1830
extras    : ################################################## 164/164
Parsing package install arguments
No Match for argument: snort-2.8.4
Nothing to do

这是咋回事???一步一个坎儿啊......
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP