Search code examples
centos7yumvmware-workstation

VMWare tools yum install: [Errno -1] Metadata file does not match checksum CentOS 7


When trying to install vmware-tools via yum:

yum install vmware-tools

I get the following error: http://packages.vmware.com/packages/rhel7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum

I've already tried the following suggestions:

  • yum clean all
  • editing /etc/yum.repos.d/epel.repo and uncommenting the baseurl lines and commenting out the mirrorlist lines.

Without any success, is anyone experiencing the same issue?

This is a virtualised Centos 7 machine running in vmware workstation.


Solution

  • To get rid of the warning, you could disable the repository

    (the name may vary; see ls /etc/yum.repos.d):

    sudo yum-config-manager --disable vmware-tools
    

    For Linux, install open-vm-tools (after having vmware-tool removed):

    sudo yum install epel-release
    sudo yum install open-vm-tools