SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: coyotl on August 10, 2020, 11:13:35 PM

Title: 1 tremendous annoyance... SOLVED
Post by: coyotl on August 10, 2020, 11:13:35 PM
Gameover Edition/Bullseye.

A simple problem: System Upgrade upgrades the kernel but does not install the header package. With the nvidia driver installed this leads to an unusable desktop at next boot (horrible resolution as the driver is missing). If you are busy it's easy to just click on Update and not check what is installed.
Then you come back, reboot the machine to do something, and are faced with the tedious business of having to install the correct headers, reinstall nvidia-dkms to build the driver and reboot. (plus delete the old kernel and headers)

A Debian Testing issue I guess.
Title: Re: 1 tremendous annoyance...
Post by: lami07 on August 11, 2020, 08:49:22 AM
There is linux headers metapackage (linux-headers-amd64 for 64bit system) which sole purpose is to pull newest kernel headers when available. It works with debian kernel (linux-image-amd64). Seperate packages are available for Zen and Sparky kernels.
Title: Re: 1 tremendous annoyance... SOLVED
Post by: coyotl on August 12, 2020, 12:20:43 PM
Thanks - so this will pull the corresponding header package on upgrade? Installing it.
Title: Re: 1 tremendous annoyance... SOLVED
Post by: lami07 on August 12, 2020, 03:06:34 PM
Quote from: coyotl on August 12, 2020, 12:20:43 PM
Thanks - so this will pull the corresponding header package on upgrade?
Yes. That's correct.