Software⏱️ 3 min read📅 2026-06-11

How to Fix: Error while validating for Ubuntu 12.10 Kernel headers

Error while validating for Ubuntu 12.10 Kernel headers

Quick Answer: Try updating the kernel headers to the latest version using "sudo apt-get update && sudo apt-get install linux-headers-generic"

The error 'Error while validating for Ubuntu 12.10 Kernel headers' occurs when attempting to configure VMware tools on a Windows machine running Ubuntu 12.10. This issue affects users who have installed VMware Player version 5.0.0 build-812388 and are trying to use the Ubuntu 12.10 operating system.

This error is frustrating because it prevents the user from mounting HGFS (shared folder) filesystems, which is a crucial feature for seamless file sharing between the host and guest machines.

🔍 Why This Happens

  • The primary reason for this error is that the path provided to the kernel header files is incorrect. The correct path should be '/usr/src/linux-headers-3.5.0-17-generic' instead of '/usr/src/linux-headers-3.5.0-17-generic'. This is because the latter path does not exist in Ubuntu 12.10.
  • Another possible reason for this error is that the 'linux-headers-3.5.0-17-generic' package is not installed or not properly configured on the system.

✅ Best Solutions to Fix It

Updating the Linux Headers

  1. Step 1: Update the Ubuntu package list using the command 'sudo apt-get update'. This will ensure that the system has access to the latest package information.
  2. Step 2: Install the 'linux-headers-3.5.0-17-generic' package using the command 'sudo apt-get install linux-headers-3.5.0-17-generic'. This will provide the necessary kernel header files for VMware tools to function correctly.
  3. Step 3: After installation, restart the VMware Player service by running the command 'sudo service vmware-player restart'. This will ensure that the changes take effect.

Correcting the Path

  1. Step 1: Manually correct the path in the 'vmware-config-tools.pl' script by changing '/usr/src/linux-headers-3.5.0-17-generic' to '/usr/src/linux-headers-3.5.0-17-generic'. This will provide a valid path for the kernel header files.
  2. Step 2: Save and exit the 'vmware-config-tools.pl' script after making the changes.

✨ Wrapping Up

To resolve the error 'Error while validating for Ubuntu 12.10 Kernel headers', one can try updating the Linux headers using the 'linux-headers-3.5.0-17-generic' package or manually correct the path in the 'vmware-config-tools.pl' script. By following these steps, users should be able to configure VMware tools successfully and mount HGFS filesystems without any issues.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions