On 11/21/25 10:35 AM, mick.crane wrote:
updating and upgrading Trixie with apt there was a message about can't find the headers not installing modules. Reboot and X won't start with the new kernel. Installing the headers and re-installing the kernel installed the modules,likely for nvidia-driver, and seems to have solved the issue. Is there an apt line that says install the headers if going to need them or are you supposed to check which kernel might be installed and get the headers before upgrading?

This depends on how kernels are provided package-wise. If kernel comes from the metapackage

linux-image-amd64

then having also this installed

linux-headers-amd64

will upgrade headers at the same time when kernel is upgraded.

--
Šarūnas Burdulis
Dartmouth Mathematics
math.dartmouth.edu/~sarunas

· https://useplaintext.email ·

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to