Error performing checksum on yum update

Matt Domsch Matt_Domsch at dell.com
Thu Dec 30 20:37:16 CST 2010


On Tue, Dec 21, 2010 at 08:54:49AM -0700, Orion Poplawski wrote:
> I'm getting the following on my CentOS 5.5 box:
> 
> fwupdate                                                                 | 2.6 
> kB     00:00
> fwupdate/primary_db                                                      | 104 
> kB     00:00
> http://linux.dell.com/repo/firmware/cross-distro/repodata/primary.sqlite.bz2: 
> [Errno -3] Error performing checksum
> Trying other mirror.
> fwupdate/primary_db                                                      | 104 
> kB     00:00
> http://linux.dell.com/repo/firmware/cross-distro/repodata/primary.sqlite.bz2: 
> [Errno -3] Error performing checksum
> Trying other mirror.
> Error: failure: repodata/primary.sqlite.bz2 from fwupdate: [Errno 256] No more 
> mirrors
> 
> I don't think this version of yum can handle sha256 checksums:
> 
> fwupdate/repomd.xml:    <checksum 
> type="sha256">157de807b599e1a2f66d47d26bb4e29c339d87e43c0d1255bb68dc8c11388329</checksum>
> 
> All of the other repo's checksums are sha:
> 
> updates/repomd.xml:    <checksum 
> type="sha">24c177b6504f8d3f4f331f1d92f9b679681a127f</checksum>
> 
> I think you need to pass "--checksum sha" to createrepo for backwards 
> compatibility here.

I've updated the generator script to use --checksum sha
now.  Thanks for letting me know.

Thanks,
Matt

-- 
Matt Domsch
Technology Strategist
Dell | Office of the CTO



More information about the Linux-PowerEdge mailing list