diff -ur vmware-vsphere-cli-distrib/bin/vmware-uninstall-vSphere-CLI.pl vmware-vsphere-cli-distrib.working//bin/vmware-uninstall-vSphere-CLI.pl --- vmware-vsphere-cli-distrib/bin/vmware-uninstall-vSphere-CLI.pl 2012-07-13 00:42:46.000000000 +0000 +++ vmware-vsphere-cli-distrib.working//bin/vmware-uninstall-vSphere-CLI.pl 2013-02-05 09:53:45.000000000 +0000 @@ -2272,8 +2272,8 @@ } # check for e2fsprogs-devel installed - if ( direct_command("cat /etc/*-release | grep -i ubuntu") || direct_command("cat /proc/version | grep -i ubuntu") ) { - my $libssl_dev = direct_command("dpkg-query -W -f='\${Version}\n' '*ssl-dev*' "); + if ( direct_command("which dpkg-query") ) { + my $libssl_dev = direct_command("dpkg-query -W -f='\${Version}\n' '*libssl-dev*' "); if ( $libssl_dev ) { $OpenSSL_dev_installed = 1; } else { @@ -2288,10 +2288,10 @@ $e2fsprogs_installed = 1; } - if ( direct_command("dpkg-query -W -f'\${Status}\n' libxml-libxml-perl | grep not-installed ") ) { - print wrap("libxml-libxml-perl package is not installed on the system. libxml-libxml-perl package must be installed for use by " . $vicliName . ":\n\n", 0); - $libxml_perl_installed = 0; - } + #if ( direct_command("dpkg-query -W -f'\${Status}\n' libxml-libxml-perl | grep not-installed ") ) { + # print wrap("libxml-libxml-perl package is not installed on the system. libxml-libxml-perl package must be installed for use by " . $vicliName . ":\n\n", 0); + # $libxml_perl_installed = 0; + #} } else { my @openssl_dev = direct_command("rpm -qa | grep 'ssl-dev'"); @@ -2452,10 +2452,11 @@ # Determine if internet connection is available. if ( ( ! $install_rhel55_local ) && ( scalar(@install) > 0 ) ) { - my $internetConnect = `ping -c 10 -W 4 www.vmware.com | grep -c "64 bytes"`; - if ( $internetConnect ne '') { - $internet_available = ($internetConnect > 3 ) ? 1:0; - } + #my $internetConnect = `ping -c 10 -W 4 www.vmware.com | grep -c "64 bytes"`; + #if ( $internetConnect ne '') { + # $internet_available = ($internetConnect > 3 ) ? 1:0; + #} + $internet_available = 0; } # install modules in @install using CPAN from internet if internet connection available or install it from # modules bundled with installer.