LoveUnix » 其他UNIX & Linux » 如何配置sources.list for rhel 5
让LU留住您的每

一天 让LU博客留住您的每一天
2007-6-6 10:42 kerberos
如何配置sources.list for rhel 5

请问,如何配置sources.list for rhel 5

比如,下面的URL 有很多RPM,可以添加到sources.list吗?

[url=http://apt.freshrpms.net/pub/dag/redhat/el5/en/i386/RPMS.dag/]http://apt.freshrpms.net/pub/dag/redhat/el5/en/i386/RPMS.dag/[/url]

[quote]
rpm [url=http://apt.freshrpms.net]http://apt.freshrpms.net[/url]  [color=#154ba0]redhat/el5/en/i386 dag[/color]

[/quote]
这样添加可以吗?

[root@rhel5 apt]# apt-get install xmms
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package xmms
[root@rhel5 apt]#

为什么一直提示找不到包呢?

谢谢!

2007-6-6 11:29 kerberos
将sources.list文件改成:
rpm [url]http://apt.freshrpms.net[/url] pub/dag/redhat/el5/en/i386 dag
就可以了。

2007-6-6 18:56 luweinet
:P 摸索中进步...
lz还是学生吧?

2007-6-6 20:30 kerberos
何以见得?

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.