virt-v2v failing for VMware guest with vmware-tools dependency errors

Solution Unverified - Updated -

Issue

When using virt-v2v to convert a VMware guest running RHEL 6.4 to a KVM host, the tool copies the VM's datafile but then the conversion fails due to a vmware-tools dependency issue.

# virt-v2v -ic ${ESXHOST} -os ${STORAGEPOOL} ${ESXVM}
virt-v2v: WARNING: Failed to install replacement dependencies for vmware-tools-libraries-nox. Package will not be uninstalled. Error was: command: command: Error: Need to pass a list of pkgs to install at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 1094

virt-v2v: WARNING: Failed to install replacement dependencies for vmware-tools-libraries-x. Package will not be uninstalled. Error was: command: command: Error: Need to pass a list of pkgs to install at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 1094

command: command: error: Failed dependencies:
    vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-nox-0:9.0.1-2.x86_64
    vmware-tools-foundation >= 0:9.0.1 is needed by (installed) vmware-tools-libraries-x-0:9.0.1-2.x86_64 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 204.
 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 895

Environment

  • Red Hat Enterprise Linux 6.4
  • ESX 5.0 build 768111
  • virt-v2v-0.8.9-2.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content