yum安装dell官方OpenIPMI失败问题

dell openmanage repo CentOS5
安装 OpenIPMI时报如下错误:
http://mirrors.private.com/hardware/dell/5/x86_64/ipmitool/OpenIPMI-2.0.16-99.dell.4.99.1.el5.x86_64.rpm: [Errno -1] Package does not match intended download
Trying other mirror.
问题分析:
从mirror服务器的nginx访问日志中看,是200状态,表明yum成功下载了该rpm包
于是怀疑是repo数据库中此rpm包的值不对,于是用createrepo命令来创建

又遇到了Error performing checksum错误
原因为:
CentOS5中的yum不能计算sha256,于是改用 sha1算法来生成针对centos5版本的repo数据库

/usr/bin/createrepo -s sha1 --simple-md-filenames -d -o /mirrors/hardware/dell/rh50 /mirrors/hardware/dell/rh50
/usr/bin/createrepo -s sha1 --simple-md-filenames -d -o /mirrors/hardware/dell/rh50_64 /mirrors/hardware/dell/rh50_64