VMware

Can’t update VMware Workstation 14.1.5 after ub… |VMware Communities

When I try to start VMware Workstation, I get this message:

I then click Install and this is what I get:

 

/tmp/vmware-root/vmware-40055.log contents:

 

2020-07-02T10:28:57.975-03:00| vthread-1| I125: Log for VMware Workstation pid=40055 version=14.1.5 build=build-10950780 option=Release

2020-07-02T10:28:57.975-03:00| vthread-1| I125: The process is 64-bit.

2020-07-02T10:28:57.975-03:00| vthread-1| I125: Host codepage=UTF-8 encoding=UTF-8

2020-07-02T10:28:57.975-03:00| vthread-1| I125: Host is Linux 5.4.0-40-generic Ubuntu 20.04 LTS

2020-07-02T10:28:57.974-03:00| vthread-1| I125: DictionaryLoad: Cannot open file “/usr/lib/vmware/settings”: No such file or directory.

2020-07-02T10:28:57.974-03:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file “/usr/lib/vmware/settings”: No such file or directory.

2020-07-02T10:28:57.974-03:00| vthread-1| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.

2020-07-02T10:28:57.974-03:00| vthread-1| I125: DictionaryLoad: Cannot open file “/home/atcasanova/.vmware/config”: No such file or directory.

2020-07-02T10:28:57.974-03:00| vthread-1| I125: [msg.dictionary.load.openFailed] Cannot open file “/home/atcasanova/.vmware/config”: No such file or directory.

2020-07-02T10:28:57.974-03:00| vthread-1| I125: PREF Optional preferences file not found at /home/atcasanova/.vmware/config. Using default values.

2020-07-02T10:28:58.011-03:00| vthread-1| W115: Logging to /tmp/vmware-root/vmware-40055.log

2020-07-02T10:28:58.021-03:00| vthread-1| I125: Obtaining info using the running kernel.

2020-07-02T10:28:58.022-03:00| vthread-1| I125: Created new pathsHash.

2020-07-02T10:28:58.022-03:00| vthread-1| I125: Setting header path for 5.4.0-40-generic to “/lib/modules/5.4.0-40-generic/build/include”.

2020-07-02T10:28:58.022-03:00| vthread-1| I125: Validating path “/lib/modules/5.4.0-40-generic/build/include” for kernel release “5.4.0-40-generic”.

2020-07-02T10:28:58.022-03:00| vthread-1| I125: Failed to find /lib/modules/5.4.0-40-generic/build/include/linux/version.h

2020-07-02T10:28:58.022-03:00| vthread-1| I125: /lib/modules/5.4.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2020-07-02T10:28:58.022-03:00| vthread-1| I125: using /usr/bin/gcc-9 for preprocess check

2020-07-02T10:28:58.027-03:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value “5.4.0-40-generic”.

2020-07-02T10:28:58.027-03:00| vthread-1| I125: The header path “/lib/modules/5.4.0-40-generic/build/include” for the kernel “5.4.0-40-generic” is valid.  Whoohoo!

2020-07-02T10:28:58.358-03:00| vthread-1| I125: found symbol version file /lib/modules/5.4.0-40-generic/build/Module.symvers

2020-07-02T10:28:58.358-03:00| vthread-1| I125: Reading symbol versions from /lib/modules/5.4.0-40-generic/build/Module.symvers.

2020-07-02T10:28:58.395-03:00| vthread-1| I125: Read 23794 symbol versions

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Reading in info for the vmmon module.

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Reading in info for the vmnet module.

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Reading in info for the vmblock module.

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Reading in info for the vmci module.

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Reading in info for the vsock module.

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Setting vsock to depend on vmci.

2020-07-02T10:28:58.396-03:00| vthread-1| I125: Invoking modinfo on “vmmon”.

2020-07-02T10:28:58.403-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 256.

2020-07-02T10:28:58.404-03:00| vthread-1| I125: Invoking modinfo on “vmnet”.

2020-07-02T10:28:58.410-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 256.

2020-07-02T10:28:58.410-03:00| vthread-1| I125: Invoking modinfo on “vmblock”.

2020-07-02T10:28:58.416-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 256.

2020-07-02T10:28:58.416-03:00| vthread-1| I125: Invoking modinfo on “vmci”.

2020-07-02T10:28:58.425-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 256.

2020-07-02T10:28:58.425-03:00| vthread-1| I125: Invoking modinfo on “vsock”.

2020-07-02T10:28:58.435-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 0.

2020-07-02T10:28:58.453-03:00| vthread-1| I125: to be installed: vmmon status: 0

2020-07-02T10:28:58.453-03:00| vthread-1| I125: to be installed: vmnet status: 0

2020-07-02T10:28:58.461-03:00| vthread-1| I125: Obtaining info using the running kernel.

2020-07-02T10:28:58.461-03:00| vthread-1| I125: Setting header path for 5.4.0-40-generic to “/lib/modules/5.4.0-40-generic/build/include”.

2020-07-02T10:28:58.461-03:00| vthread-1| I125: Validating path “/lib/modules/5.4.0-40-generic/build/include” for kernel release “5.4.0-40-generic”.

2020-07-02T10:28:58.461-03:00| vthread-1| I125: Failed to find /lib/modules/5.4.0-40-generic/build/include/linux/version.h

2020-07-02T10:28:58.461-03:00| vthread-1| I125: /lib/modules/5.4.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2020-07-02T10:28:58.461-03:00| vthread-1| I125: using /usr/bin/gcc-9 for preprocess check

2020-07-02T10:28:58.466-03:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value “5.4.0-40-generic”.

2020-07-02T10:28:58.467-03:00| vthread-1| I125: The header path “/lib/modules/5.4.0-40-generic/build/include” for the kernel “5.4.0-40-generic” is valid.  Whoohoo!

2020-07-02T10:28:58.647-03:00| vthread-1| I125: found symbol version file /lib/modules/5.4.0-40-generic/build/Module.symvers

2020-07-02T10:28:58.647-03:00| vthread-1| I125: Reading symbol versions from /lib/modules/5.4.0-40-generic/build/Module.symvers.

2020-07-02T10:28:58.668-03:00| vthread-1| I125: Read 23794 symbol versions

2020-07-02T10:28:58.668-03:00| vthread-1| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.4.0-40-generic/build/include

2020-07-02T10:28:58.668-03:00| vthread-1| I125: Update kernel header path to /lib/modules/5.4.0-40-generic/build/include

2020-07-02T10:28:58.668-03:00| vthread-1| I125: Validating path “/lib/modules/5.4.0-40-generic/build/include” for kernel release “5.4.0-40-generic”.

2020-07-02T10:28:58.668-03:00| vthread-1| I125: Failed to find /lib/modules/5.4.0-40-generic/build/include/linux/version.h

2020-07-02T10:28:58.668-03:00| vthread-1| I125: /lib/modules/5.4.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2020-07-02T10:28:58.668-03:00| vthread-1| I125: using /usr/bin/gcc-9 for preprocess check

2020-07-02T10:28:58.673-03:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value “5.4.0-40-generic”.

2020-07-02T10:28:58.673-03:00| vthread-1| I125: The header path “/lib/modules/5.4.0-40-generic/build/include” for the kernel “5.4.0-40-generic” is valid.  Whoohoo!

2020-07-02T10:28:58.675-03:00| vthread-1| I125: Found compiler at “/usr/bin/gcc”

2020-07-02T10:28:58.676-03:00| vthread-1| I125: Got gcc version “9”.

2020-07-02T10:28:58.676-03:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.

2020-07-02T10:28:58.678-03:00| vthread-1| I125: Got gcc version “9”.

2020-07-02T10:28:58.678-03:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.

2020-07-02T10:28:58.679-03:00| vthread-1| I125: Trying to find a suitable PBM set for kernel “5.4.0-40-generic”.

2020-07-02T10:28:58.679-03:00| vthread-1| I125: No matching PBM set was found for kernel “5.4.0-40-generic”.

2020-07-02T10:28:58.679-03:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.

2020-07-02T10:28:58.679-03:00| vthread-1| I125: Validating path “/lib/modules/5.4.0-40-generic/build/include” for kernel release “5.4.0-40-generic”.

2020-07-02T10:28:58.679-03:00| vthread-1| I125: Failed to find /lib/modules/5.4.0-40-generic/build/include/linux/version.h

2020-07-02T10:28:58.679-03:00| vthread-1| I125: /lib/modules/5.4.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2020-07-02T10:28:58.679-03:00| vthread-1| I125: using /usr/bin/gcc-9 for preprocess check

2020-07-02T10:28:58.684-03:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value “5.4.0-40-generic”.

2020-07-02T10:28:58.684-03:00| vthread-1| I125: The header path “/lib/modules/5.4.0-40-generic/build/include” for the kernel “5.4.0-40-generic” is valid.  Whoohoo!

2020-07-02T10:28:58.686-03:00| vthread-1| I125: The GCC version matches the kernel GCC minor version like a glove.

2020-07-02T10:28:58.686-03:00| vthread-1| I125: Validating path “/lib/modules/5.4.0-40-generic/build/include” for kernel release “5.4.0-40-generic”.

2020-07-02T10:28:58.686-03:00| vthread-1| I125: Failed to find /lib/modules/5.4.0-40-generic/build/include/linux/version.h

2020-07-02T10:28:58.686-03:00| vthread-1| I125: /lib/modules/5.4.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2020-07-02T10:28:58.686-03:00| vthread-1| I125: using /usr/bin/gcc-9 for preprocess check

2020-07-02T10:28:58.691-03:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value “5.4.0-40-generic”.

2020-07-02T10:28:58.691-03:00| vthread-1| I125: The header path “/lib/modules/5.4.0-40-generic/build/include” for the kernel “5.4.0-40-generic” is valid.  Whoohoo!

2020-07-02T10:28:58.691-03:00| vthread-1| I125: Using temp dir “/tmp”.

2020-07-02T10:28:58.692-03:00| vthread-1| I125: Obtaining info using the running kernel.

2020-07-02T10:28:58.692-03:00| vthread-1| I125: Setting header path for 5.4.0-40-generic to “/lib/modules/5.4.0-40-generic/build/include”.

2020-07-02T10:28:58.692-03:00| vthread-1| I125: Validating path “/lib/modules/5.4.0-40-generic/build/include” for kernel release “5.4.0-40-generic”.

2020-07-02T10:28:58.692-03:00| vthread-1| I125: Failed to find /lib/modules/5.4.0-40-generic/build/include/linux/version.h

2020-07-02T10:28:58.692-03:00| vthread-1| I125: /lib/modules/5.4.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.

2020-07-02T10:28:58.692-03:00| vthread-1| I125: using /usr/bin/gcc-9 for preprocess check

2020-07-02T10:28:58.697-03:00| vthread-1| I125: Preprocessed UTS_RELEASE, got value “5.4.0-40-generic”.

2020-07-02T10:28:58.697-03:00| vthread-1| I125: The header path “/lib/modules/5.4.0-40-generic/build/include” for the kernel “5.4.0-40-generic” is valid.  Whoohoo!

2020-07-02T10:28:59.045-03:00| vthread-1| I125: found symbol version file /lib/modules/5.4.0-40-generic/build/Module.symvers

2020-07-02T10:28:59.045-03:00| vthread-1| I125: Reading symbol versions from /lib/modules/5.4.0-40-generic/build/Module.symvers.

2020-07-02T10:28:59.072-03:00| vthread-1| I125: Read 23794 symbol versions

2020-07-02T10:28:59.072-03:00| vthread-1| I125: Invoking modinfo on “vmmon”.

2020-07-02T10:28:59.075-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 256.

2020-07-02T10:28:59.075-03:00| vthread-1| I125: Invoking modinfo on “vmnet”.

2020-07-02T10:28:59.077-03:00| vthread-1| I125: “/sbin/modinfo” exited with status 256.

2020-07-02T10:28:59.865-03:00| vthread-1| I125: Setting destination path for vmmon to “/lib/modules/5.4.0-40-generic/misc/vmmon.ko”.

2020-07-02T10:28:59.865-03:00| vthread-1| I125: Extracting the vmmon source from “/usr/lib/vmware/modules/source/vmmon.tar”.

2020-07-02T10:28:59.877-03:00| vthread-1| I125: Successfully extracted the vmmon source.

2020-07-02T10:28:59.877-03:00| vthread-1| I125: Building module with command “/usr/bin/make -j4 -C /tmp/modconfig-lMvDIY/vmmon-only auto-build HEADER_DIR=/lib/modules/5.4.0-40-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no”

2020-07-02T10:29:00.701-03:00| vthread-1| W115: Failed to build vmmon.  Failed to execute the build command.

2020-07-02T10:29:00.703-03:00| vthread-1| I125: Setting destination path for vmnet to “/lib/modules/5.4.0-40-generic/misc/vmnet.ko”.

2020-07-02T10:29:00.703-03:00| vthread-1| I125: Extracting the vmnet source from “/usr/lib/vmware/modules/source/vmnet.tar”.

2020-07-02T10:29:00.708-03:00| vthread-1| I125: Successfully extracted the vmnet source.

2020-07-02T10:29:00.708-03:00| vthread-1| I125: Building module with command “/usr/bin/make -j4 -C /tmp/modconfig-lMvDIY/vmnet-only auto-build HEADER_DIR=/lib/modules/5.4.0-40-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no”

2020-07-02T10:29:01.714-03:00| vthread-1| W115: Failed to build vmnet.  Failed to execute the build command.

 

After some googling I tried to run this script but it also failed:

#!/bin/bash

if [[ $UID != 0 ]]; then

    echo “Please run this script with sudo:”

    echo “sudo $0 $*”

    exit 1

fi

 

 

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

 

 

cd /usr/lib/vmware/modules/source

sudo tar -xf vmci.tar

cd vmci-only/linux

sudo sed ‘127s/.*/   .remove = vmci_remove_device,/’ driver.c > driver.c.tmp

mv driver.c.tmp driver.c

sudo sed ‘1753s/.*/static int/’ driver.c > driver.c.tmp

mv driver.c.tmp driver.c

sudo sed ‘1981s/.*/static void/’ driver.c > driver.c.tmp

mv driver.c.tmp driver.c

cd ../..

sudo tar -cf vmci.tar vmci-only/

sudo rm vmci-only/ -Rf

sudo vmware-modconfig –console –install-all

sudo rm /usr/src/linux-headers-$(uname -r)/include/linux/version.h

echo “Done”

 

 

Any help?


Source link

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close