Hi,
every time there is a kernel update, I need to install the coresponding linux-headers. Is there a way they can be installed automatically?
On 5/24/26 4:34 AM, Alexis Grigoriou wrote:That will handle the "corresponding" part, but not AFAIK the
Hi,
every time there is a kernel update, I need to install the
coresponding linux-headers. Is there a way they can be installed
automatically?
Hello Alexis,
The linux-headers-amd64 package exists for this exact purpose.
(presumably other architectures have an equivalent).
every time there is a kernel update, I need to install the coresponding linux-headers. Is there a way they can be installed automatically?
On 2026-05-24 at 08:23, Antonio Russo wrote:
The linux-headers-amd64 package exists for this exact purpose.
(presumably other architectures have an equivalent).
That will handle the "corresponding" part, but not AFAIK the
"automatically" part - which I parse as meaning "when I install a new (version of) linux-image-*, linux-headers-* should get installed along
with it, without me needing to do anything extra at install time to make
that happen".
I have yet to manage to think of a way to *ensure* that automation in
all circumstances, for all methods of initiating upgrade.
On Sun, May 24, 2026 at 09:08:58 -0400, The Wanderer wrote:Okay, you're right. I was referring to the idea that upgrading one
On 2026-05-24 at 08:23, Antonio Russo wrote:
The linux-headers-amd64 package exists for this exact purpose.
(presumably other architectures have an equivalent).
That will handle the "corresponding" part, but not AFAIK the
"automatically" part - which I parse as meaning "when I install a
new (version of) linux-image-*, linux-headers-* should get
installed along with it, without me needing to do anything extra at
install time to make that happen".
I have yet to manage to think of a way to *ensure* that automation
in all circumstances, for all methods of initiating upgrade.
If you need DKMS modules, you have two paths from which to choose.
The first path, which most people choose, involves adding a
trixie-security source to apt, and installing both
"linux-image-amd64" and "linux-headers-amd64". Whenever there's a
kernel security update, you will automatically get both the image and
headers for that update.
On Sun, May 24, 2026 at 09:08:58 -0400, The Wanderer wrote:
On 2026-05-24 at 08:23, Antonio Russo wrote:
The linux-headers-amd64 package exists for this exact purpose. (presumably other architectures have an equivalent).
That will handle the "corresponding" part, but not AFAIK the "automatically" part - which I parse as meaning "when I install a
new
(version of) linux-image-*, linux-headers-* should get installed
along
with it, without me needing to do anything extra at install time to
make
that happen".
I have yet to manage to think of a way to *ensure* that automation
in
all circumstances, for all methods of initiating upgrade.
If you need DKMS modules, you have two paths from which to choose.
The first path, which most people choose, involves adding a
trixie-security source to apt, and installing both "linux-image-
amd64"
and "linux-headers-amd64".ÿ Whenever there's a kernel security
update,
you will automatically get both the image and headers for that
update.
On Sun, 2026-05-24 at 09:35 -0400, Greg Wooledge wrote:
On Sun, May 24, 2026 at 09:08:58 -0400, The Wanderer wrote:
On 2026-05-24 at 08:23, Antonio Russo wrote:
The linux-headers-amd64 package exists for this exact purpose.
If you need DKMS modules, you have two paths from which to choose.
The first path, which most people choose, involves adding a
trixie-security source to apt, and installing both "linux-image-
amd64"
and "linux-headers-amd64".ÿ Whenever there's a kernel security
update,
you will automatically get both the image and headers for that
update.
That was it. After every kernel update, Debian didn't boot to a gui.
Just a black screen. Installing linux-headers-$(uname-r) resplved the
issue.
Hi,
every time there is a kernel update, I need to install the coresponding linux-headers. Is there a way they can be installed automatically?
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 4 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 495145:23:07 |
| Calls: | 165 |
| Files: | 574 |
| D/L today: |
29 files (9,998K bytes) |
| Messages: | 78,198 |