PowerCLI

 View Only
  • 1.  I can no longer install `open-vm-tools-deploypkg`

    Posted Apr 22, 2019 07:57 PM

    I am running CentOS7 Guest and we had previously been installing the "deployPkg" plugin. Something appears to have changed over the weekend.

    When I run the command: "sudo yum install open-vm-tools-deploypkg" this returns:

    Loaded plugins: fastestmirror

    Loading mirror speeds from cached hostfile

    * base: mirror.sjc02.svwh.net

    * elrepo: elrepo.org

    * extras: repos-lax.psychz.net

    * updates: repos-lax.psychz.net

    base                                                                                                                                                                                                                       | 3.6 kB  00:00:00    

    docker-ce-stable                                                                                                                                                                                                           | 3.5 kB  00:00:00    

    elrepo                                                                                                                                                                                                                     | 2.9 kB  00:00:00    

    extras                                                                                                                                                                                                                     | 3.4 kB  00:00:00    

    updates                                                                                                                                                                                                                    | 3.4 kB  00:00:00    

    vmware-tools                                                                                                                                                                                                               |  951 B  00:00:00    

    vmware-tools/primary           FAILED                                                                                                                                                                              0.0 B/s |    0 B  00:00:00    

    http://packages.vmware.com/packages/rhel7/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum                                                                                         0.0 B/s |    0 B  00:00:00    

    Trying other mirror.

    vmware-tools/primary                                                                                                                                                                                                       |  962 B  00:00:00    

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

    Trying other mirror.

    One of the configured repositories failed (VMware Tools),

    and yum doesn't have enough cached data to continue. At this point the only

    safe thing yum can do is fail. There are a few ways to work "fix" this:

         1. Contact the upstream for the repository and get them to fix the problem.

         2. Reconfigure the baseurl/etc. for the repository, to point to a working

            upstream. This is most often useful if you are using a newer

            distribution release than is supported by the repository (and the

            packages for the previous distribution release still work).

         3. Run the command with the repository temporarily disabled

                yum --disablerepo=vmware-tools ...

         4. Disable the repository permanently, so yum won't use it by default. Yum

            will then just ignore the repository until you permanently enable it

            again or use --enablerepo for temporary usage:

                yum-config-manager --disable vmware-tools

            or

                subscription-manager repos --disable=vmware-tools

         5. Configure the failing repository to be skipped, if it is unavailable.

            Note that yum will try to contact the repo. when it runs most commands,

            so will have to try and fail each time (and thus. yum will be be much

            slower). If it is a very temporary problem though, this is often a nice

            compromise:

                yum-config-manager --save --setopt=vmware-tools.skip_if_unavailable=true

    failure: repodata/primary.xml.gz from vmware-tools: [Errno 256] No more mirrors to try.

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

    With the checksum error I believe this to be on the VMWare side of the equation. Who do I contact to fix this problem? Does a fix exist? Or other mirrors to try?



  • 2.  RE: I can no longer install `open-vm-tools-deploypkg`

    Posted Apr 23, 2019 08:25 PM

    Per VMware Knowledge Base it looks like this isn't needed any more:

    open-vm-tools version 9.10.0 and later includes the functionality provided by open-vm-tools-deploypkg and there is no need to install this additional package. open-vm-tools-deploypkg will conflict with open-vm-tools 9.10.0 and later therefore it should be uninstalled before upgrading to open-vm-tools 9.10.0 or later.



  • 3.  RE: I can no longer install `open-vm-tools-deploypkg`

    Posted May 03, 2019 03:31 PM

    Hi - it seems that we've had some issues with the caching on our content delivery network over the last few days which have taken a little while to nail down. I believe that this is now resolved - could you re-test and confirm if you're still seeing this issue?



  • 4.  RE: I can no longer install `open-vm-tools-deploypkg`

    Posted May 09, 2019 08:42 PM

    Just checked and got the same error



  • 5.  RE: I can no longer install `open-vm-tools-deploypkg`

    Posted May 10, 2019 02:37 PM

    Are you running RHEL7 or a derivative of it, and if not could I ask that you open a new thread with the details of your issue please dru1d​?



  • 6.  RE: I can no longer install `open-vm-tools-deploypkg`

    Posted May 10, 2019 02:36 PM

    As discussed on Twitter - VMware do not provide OSP packages for vmware-tools for RHEL7 and it's derivatives (which is what you're pulling), and open-vm-tools should be sourced from your distribution's base repositories (open-vm-tools is supported through the distro). In the case of the OP the problem was caused because rallyvmware didn't have perl installed.