On Friday 23 May 2014 12:04:02 Prunk Dump wrote: > I my case, I don't what to compile a new linux kernel. I just want to > build the nvidia-glx proprietary kernel module.
[I never talked about compiling a kernel. You'd need linux-source* for that.] You should check your setup. If you install 'nvidia-kernel-dkms' using aptitude "--with-recommends", then the package manager should automatically pull in the correct kernel header package for your machine: 'nvidia-kernel-dkms' depends on 'dkms' 'dkms' recommends 'linux-headers-amd64 | linux-headers-generic | linux- headers' therefore using PACKAGES aptitude-r nvidia-kernel-dkms ~should~ already perform all the required magic. You can try this out manually. First remove 'nvidia-kernel-dkms', 'dkms' and 'linux-headers-*', then issue 'aptitude -r nvidia-kernel-dkms'. bye thomas