Install the latest version available in the repository.
Encountering the error message: "Kernel version parse failed," after attempting to install the Intel driver via aptitude.
A new driver version was included in the repositories to address this issue.
Verify the packages available in the repository with
apt list -a intel-i915-dkms
It should show
intel-i915-dkms/unknown,unknown 1.23.9.11.231003.15+i19-1 all
or a newer version, along with other older versions.
Install it using the following command
apt install -y intel-i915-dkms=<version>
where <version> is the number shown (e.g. 1.23.9.11.231003.15+i19-1)