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?
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/
Yes. I'm running Pop!_OS 19.04. Fixed my VMWare this morning. I'm running workstation 15.04. I used the vmware-host-modules package over at https://github.com/mkubecek/vmware-host-modules.
When you get there, click on the master branch, and change it to the VMware product that you have. Then follow the instructions in the INSTALL file.
When it is done, restart and it should be working.
For version 14, the link is just below :
https://github.com/mkubecek/vmware-host-modules/tree/workstation-14.1.1
Compress also
vmmon-only
andvmnet-only