I ran this command:
apt-cache search linux-headers-$(uname -r)
and it returns the output
linux-headers-5.0.0-13-generic – Linux kernel headers for version 5.0.0 on 64 bit x86 SMP
Then I ran the following command to update the linux headers:
sudo apt-get install linux-headers-$(uname -r)
Still, it gets stuck (VMware Kernel Module Updater) at the Compiling/Virtual Machine Monitor.
Does anyone know how to solve this?
Best Answer
I had the same problem and I fixed it like this.
Downloaded this link: https://github.com/mkubecek/vmware-host-modules/archive/w15.0.4-k5.0.tar.gz
Extracted the files.
Then ran these commands from terminal of the folder:
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/