VMware Communities
Pavlinux
Enthusiast
Enthusiast
Jump to solution

VMware 12, 14, 15, 16 is not installed

./VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle
Extracting VMware Installer...done.
Component vmware-workstation 16.1.0 has unsatisfied dependency:
vmware-player-app=16.1.0

# ---

./VMware-Workstation-Full-15.5.7-17171714.x86_64.bundle
Extracting VMware Installer...done.
Component vmware-workstation 15.5.7 has unsatisfied dependency:
vmware-player-app=15.5.7

# ---

./VMware-Workstation-Full-14.1.7-12989993.x86_64.bundle
Extracting VMware Installer...done.
Component vmware-workstation 14.1.7 has unsatisfied dependency:
vmware-player-app=14.1.7

# ---

./VMware-Workstation-Full-12.5.9-7535481.x86_64.bundle
Extracting VMware Installer...done.
Component vmware-workstation 12.5.9 has unsatisfied dependency:
vmware-player-app=12.5.9

No logs, no warnings, nothing ...   WTF ????!!!! 

  • Linux 5.10.26 x86_64
  • Debian 10.9
  • Python 3.7.3

 

0 Kudos
1 Solution

Accepted Solutions
Pavlinux
Enthusiast
Enthusiast
Jump to solution

No time to study.

 

1. Extract installer script from bundle 

  # dd if=VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle of=vmscript.sh bs=1 count=14544

2.  Change $0  to VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle

3. in function on_exit()  disable remove temporary directories

4. Fix python for ignore dependencies (see patch) )))

 

 

diff -urp a/install/vmware-installer/vmis/core/dependency.py b/install/vmware-installer/vmis/core/dependency.py
--- a/install/vmware-installer/vmis/core/dependency.py	2020-11-18 08:54:15.000000000 +0300
+++ b/install/vmware-installer/vmis/core/dependency.py	2021-03-30 00:34:14.164194348 +0300
@@ -345,7 +345,7 @@ class DependencyGraph(object):
                passed.append(node)
       return passed
 
-   def constructLinks(self, installed, constructConflicts = True, force = False):
+   def constructLinks(self, installed, constructConflicts = True, force = True):
       """
       Construct the links between the vertecies of this graph
 
@@ -376,13 +376,13 @@ class DependencyGraph(object):
                debuglog('  match for %s is %s' % (node, matched))
                debuglog('  dependency.optional: %s' % dependency.optional)
                debuglog('  force:', force)
-               if not matched and not dependency.optional and not force:
-                  exception = UnsatisfiedDependency('Component %s has unsatisfied '
-                                                    'dependency: %s' % (node.component,
-                                                    dependency))
-                  exception.node = node
-                  exception.dependency = dependency
-                  raise exception
+               #if not matched and not dependency.optional and not force:
+                  #exception = UnsatisfiedDependency('Component %s has unsatisfied '
+                    #                                'dependency: %s' % (node.component,
+                    #                                dependency))
+                  #exception.node = node
+                  #exception.dependency = dependency
+                  #raise exception
 
    def cleanupMarks(self):
       """

 

5. start script manually 

   # /tmp/vmis.xvVc7j/install/vmware-installer/vmware-installer --set-setting vmware-installer libconf '' --install-component /tmp/vmis.xvVc7j/install/vmware-installer --install-bundle /tmp/VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle '' VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle

 

vm.png

View solution in original post

0 Kudos
1 Reply
Pavlinux
Enthusiast
Enthusiast
Jump to solution

No time to study.

 

1. Extract installer script from bundle 

  # dd if=VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle of=vmscript.sh bs=1 count=14544

2.  Change $0  to VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle

3. in function on_exit()  disable remove temporary directories

4. Fix python for ignore dependencies (see patch) )))

 

 

diff -urp a/install/vmware-installer/vmis/core/dependency.py b/install/vmware-installer/vmis/core/dependency.py
--- a/install/vmware-installer/vmis/core/dependency.py	2020-11-18 08:54:15.000000000 +0300
+++ b/install/vmware-installer/vmis/core/dependency.py	2021-03-30 00:34:14.164194348 +0300
@@ -345,7 +345,7 @@ class DependencyGraph(object):
                passed.append(node)
       return passed
 
-   def constructLinks(self, installed, constructConflicts = True, force = False):
+   def constructLinks(self, installed, constructConflicts = True, force = True):
       """
       Construct the links between the vertecies of this graph
 
@@ -376,13 +376,13 @@ class DependencyGraph(object):
                debuglog('  match for %s is %s' % (node, matched))
                debuglog('  dependency.optional: %s' % dependency.optional)
                debuglog('  force:', force)
-               if not matched and not dependency.optional and not force:
-                  exception = UnsatisfiedDependency('Component %s has unsatisfied '
-                                                    'dependency: %s' % (node.component,
-                                                    dependency))
-                  exception.node = node
-                  exception.dependency = dependency
-                  raise exception
+               #if not matched and not dependency.optional and not force:
+                  #exception = UnsatisfiedDependency('Component %s has unsatisfied '
+                    #                                'dependency: %s' % (node.component,
+                    #                                dependency))
+                  #exception.node = node
+                  #exception.dependency = dependency
+                  #raise exception
 
    def cleanupMarks(self):
       """

 

5. start script manually 

   # /tmp/vmis.xvVc7j/install/vmware-installer/vmware-installer --set-setting vmware-installer libconf '' --install-component /tmp/vmis.xvVc7j/install/vmware-installer --install-bundle /tmp/VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle '' VMware-Workstation-Full-16.1.0-17198959.x86_64.bundle

 

vm.png

0 Kudos