- 论坛徽章:
- 0
|
大家好,最近配置了一个YUM源.rsync开源到本地,centos base没有问题,但epel , rpmforge都不成,具体情况如下:
1.单独centos更新成功,配置文件及目录如下:
[redhat]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://10.30.34.209/Redhat5.4
enabled=1
gpgcheck=0
root@TJHY166-111 yumdis]# cd centos/
[root@TJHY166-111 centos]# ls
2 3.4 3.9 4.3 4.8 5.2 5.7 6.0 HEADER.html RPM-GPG-KEY-centos4 RPM-GPG-KEY-CentOS-Security-6
2.1 3.5 4 4.4 4.9 5.3 5.8 6.1 HEADER.images RPM-GPG-KEY-CentOS-4 RPM-GPG-KEY-CentOS-Testing-6
3 3.6 4.0 4.5 5 5.4 5.9 6.2 repodata RPM-GPG-KEY-CentOS-5 TIME
3.1 3.7 4.1 4.6 5.0 5.5 5Server 6.3 RPM-GPG-KEY-beta RPM-GPG-KEY-CentOS-6 timestamp.txt
3.3 3.8 4.2 4.7 5.1 5.6 6 build RPM-GPG-KEY-CentOS-3 RPM-GPG-KEY-CentOS-Debug-6
2.epel源配置文件及目录如下:
[epel]
name=epel
baseurl=http://10.30.38.111/epel/$releasever/
enabled=1
gpgchk=0
[root@TJHY166-111 epel]# ls
4AS 4WS 5Client 6 fullfilelist RPM-GPG-KEY-EPEL-4 RPM-GPG-KEY-EPEL-6
4ES 5 5Server beta RPM-GPG-KEY-EPEL RPM-GPG-KEY-EPEL-5 testing
[root@TJHY166-111 epel]# pwd
/data/yumdis/epel
3.更新出错
在epel/5 下创建源仓库,由于都是64位系统.没有更新i386.
cd epel/5
createrepo -s md5 ./
ls
SRPMS x86_64 #两个目录
在测试机上yum makecache也OK
yum makecache
Loaded plugins: fastestmirror, priorities, rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Loading mirror speeds from cached hostfile
epel | 1.1 kB 00:00
epel/filelists | 4.9 MB 00:00
epel/other | 3.5 MB 00:00
epel/primary | 3.2 MB 00:00
epel 10712/10712
epel 10712/10712
epel 10712/10712
Metadata Cache Created
安装包报错
yum install perl*
Error: Missing Dependency: perl(XML::Simple) is needed by package perl-TAP-Harness-JUnit-0.30-1.el5.noarch (epel)
Error: Missing Dependency: perl(XML::Twig) is needed by package perl-Test-Valgrind-1.13-3.el5.noarch (epel)
Error: Missing Dependency: perl(XML: arser) is needed by package perl-XML-DOM-1.44-2.el5.noarch (epel)
Error: Missing Dependency: perl(Date::Calc) is needed by package perl-Spreadsheet-WriteExcel-2.18-1.el5.noarch (epel)
Error: Missing Dependency: perl(APR: ool) is needed by package perl-libapreq2-2.09-0.rc2.1.el5.x86_64 (epel)
Error: Missing Dependency: perl(Carp::Clan) is needed by package perl-Declare-Constraints-Simple-0.03-2.el5.noarch (epel)
Error: Missing Dependency: perl(Socket6) is needed by package perl-POE-1.280-2.el5.noarch (epel)
Error: Missing Dependency: libXmu.so.6()(64bit) is needed by package perl-OpenGL-0.62-2.el5.x86_64 (epel)
Error: Missing Dependency: libglut.so.3()(64bit) is needed by package perl-OpenGL-0.62-2.el5.x86_64 (epel)
Error: Missing Dependency: /lib64/libulockmgr.so.1 is needed by package 1:libguestfs-1.19.37-4.el5.x86_64 (epel)
Error: Missing Dependency: perl(Digest::HMAC_SHA1) is needed by package perl-Net-OAuth-0.19-1.el5.noarch (epel)
Error: Missing Dependency: libgd.so.2()(64bit) is needed by package perl-PDL-2.4.3-5.el5.x86_64 (epel)
Error: Missing Dependency: perl(XML: umper) is needed by package perl-Syntax-Highlight-Engine-Kate-0.04-1.el5.noarch (epel)
Error: Missing Dependency: perl(XML::NamespaceSupport) is needed by package perl-XML-SAX-Writer-0.50-2.el5.noarch (epel)
Error: Missing Dependency: perl(Digest::SHA1) is needed by package perl-Crypt-RSA-1.98-3.el5.noarch (epel)
Error: Missing Dependency: gd >= 2.0.28 is needed by package perl-GD-2.35-2.el5.x86_64 (epel)
Error: Missing Dependency: perl(XML::LibXML::Boolean) is needed by package perl-XML-LibXSLT-1.58-5.el5.x86_64 (epel)
Error: Missing Dependency: perl(SNMP) is needed by package perl-SNMP-Info-2.09-1.el5.noarch (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
已经试过网上安装header的方法,跟这没关系.兄弟们帮忙看一眼.
|
|