Score:1

Ubuntu-20.04 - C header files matching your running kernel were not found

eg flag

On Ubuntu-20.04LTS have installed VMWare workstation successfully. When i tried to launch, it shows below error.

Error

The below workaround couldn't help.

sudo apt-get update
sudo apt-get upgrade --yes
sudo apt-get dist-upgrade --yes 
sudo apt-get install build-essential dkms

cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h

linux-headers-5.4.0-91-generic is already the newest version (5.4.0-91.102) installed.

$ sudo vmware-modconfig --console --install-all
[AppLoader] GLib does not have GSettings support.

(process:31113): GLib-CRITICAL **: 14:51:49.338: g_file_test: assertion 'filename != NULL' failed
Failed to setup build environment.

Currently installed vmware workstation version as follows,

$ vmware --version
VMware Workstation 16.2.1 build-18811642

Here what I'm missing? And what precisely is vmware looking for?

Score:0
bd flag

try the following:

 sudo apt install --reinstall linux-headers-$(uname -r)
user4948798 avatar
eg flag
Thanks for the answer, It was found that our IT-Department booted the OS kernel with lower kernel version what `vmware - 16.2.1` was expected is latest higher kernel version.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.