kernel headers not found

I’m trying to install vmware workstation and when I try to run it, I get the following error:


Kernel Headers for version 4.12.14-lp151.28.16-default were not found.

I have installed:

  • kernel-devel
  • kernel-default-devel
  • kernel-syms

Obviously, I’m missing something…

Any suggestion?

Thanks

kernel-source, I’d guess.

I’ve been told it shouldn’t be necessary, but IME it usually is when compiling stuff.

Post:

zypper se -si kernel

No, already tried and that didn’t work

Thanks

Thanks. I’ll try that next week

The suggestion was to determine your installed kernel, you could also have done that running uname.

But,
More to the point is that you seem to have installed the correct packages for the “default kernel,”
The remaining likely possibility is that somehow your kernel and its header packages aren’t in sync (Obviously you need the header packages for your specific kernel).
To re-sync, simply update your system

zypper up

That has always fixed the problem for me.

TSU