Re: How do I specify a custom apt dependency between kernel image and its headers?
Ram Ramesh <rramesh2400@gmail.com> writes:
> I have nvdia card that requires binary driver to work in my system. Xorg is unable display anything with free driver. Since nvidia-driver has to be
> built for each kernel install, I need to install headers also. This seem to work automatically for any standard kernel release in bullseye. However
> when I install newer kernel from backport, apt does not install headers automatically. How do I tie the install of linux-image to linux-header so that
> I cannot install image without the headers.
In my experience it's been enough to install linux-image-amd64 and
linux-headers-amd64. When I run apt upgrade both are updated if new
versions are available.
Reply to: