Le 08/01/2017 à 15:32, Graham McNeil-Watson a écrit :
| $ sudo apt-get install linux-headers-generic
(...)
| Package linux-headers-generic is not available, but is referred to by another package. | This may mean that the package is missing, has been obsoleted, or is only available from another source
AFAIK linux-*-generic packages are from Ubuntu, not Debian.
| $ apt-cache policy linux-image-4.7.0-0.bpo.1-amd64-unsigned | linux-image-4.7.0-0.bpo.1-amd64-unsigned: | Installed: 4.7.8-1~bpo8+1 | Candidate: 4.7.8-1~bpo8+1 | Version table: | *** 4.7.8-1~bpo8+1 0 | 100 /var/lib/dpkg/status However I cannot find the corresponding headers e.g.:
(...)
Searching on debian.org for linux-headers-4.7 didn't return anything either. Can anyone shed any light on why I can find the kernel image but not the sources for this version?
Linux 4.7 packages and have been superseded by 4.8 and removed from stretch and jessie-backports.
You can see the linux-image-4.7 only because it is still installed on your system. As you can see from apt-cache policy above, it is no longer available in the Debian repository, just as any other linux-*-4.7 packages.
I guess you can get linux-headers-4.7 packages from the snapshot repository, or you can upgrade to Linux 4.8.