[Yum] yum won't update vmware
Johnny Hughes
mailing-lists at hughesjr.com
Mon Jun 26 11:22:13 UTC 2006
On Mon, 2006-06-26 at 13:57 +1000, John Newbigin wrote:
> 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,
I have had similar problems with the -c option in createrepo ... as did
Dag Wieers.
We don't use it on the centos mirrors specifically because we have seen
that too.
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20060626/0005b9ab/attachment-0001.pgp
More information about the Yum
mailing list