seth vidal wrote: > On Mon, 2006-06-26 at 12:16 +1000, John Newbigin wrote: > >>I am trying to use yum to update the VMware-server package on a CentOS-4 >>box (yum-2.4.2-2.centos4). I am getting the error: >>[Errno -1] Package does not match checksum >>Trying other mirror. >> >>Error Downloading Packages: >> VMware-server - 1.0.0-27828.i386: failure: >>VMware-server-1.0.0-27828.i386.rpm from vmware: [Errno 256] No more >>mirrors to try. > > > > look in the primary.xml for that repo. > > Look at the checksum for that package. > > see if it matches the sha1sum of the file you've downloaded. > > Something doesn't match. There are 2 files in the repo. Here are the sha1sums: 515925b3868fbf9fed7581bd38a6a54eb78a0e98 VMware-server-1.0.0-24927.i386.rpm 36812d24eb5d2eb0d06f1229c654e955267f7005 VMware-server-1.0.0-27828.i386.rpm The primary.xml metadata has the checksum of the 24927 release for both files. Here is an extract of the primary.xml: <?xml version="1.0" encoding="UTF-8"?> <metadata xmlns="http://linux.duke.edu/metadata/common" xmlns:rpm="http://linux.duke.edu/metadata/rpm" packages="2"> <package type="rpm"><name>VMware-server</name><arch>i386</arch><version epoch="0" ver="1.0.0" rel="24927"/><checksum type=" sha" pkgid="YES">515925b3868fbf9fed7581bd38a6a54eb78a0e98</checksum><summary>VMware Server</summary>... <package type="rpm"><name>VMware-server</name><arch>i386</arch><version epoch="0" ver="1.0.0" rel="27828"/><checksum type=" sha" pkgid="YES">515925b3868fbf9fed7581bd38a6a54eb78a0e98</checksum><summary>VMware Server</summary>... The problem appears to be with createrepo. When I turn off the cache option (-c cache) the xml looks correct and yum starts working. Should I just stop using -c? John. > > > -sv > > > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum > > > -- John Newbigin Computer Systems Officer Faculty of Information and Communication Technologies Swinburne University of Technology Melbourne, Australia http://www.ict.swin.edu.au/staff/jnewbigin