Announcement

Collapse
No announcement yet.

Linux Headers not included suddenly?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] Linux Headers not included suddenly?

    Edit: I reinstalled tonight [Monday 11/24] and the linux headers were there again, so not sure what was going on over the weekend

    Is anyone else having issues with the Linux headers not being included with a fresh install? I had to install it manually with sudo apt install linux-headers-$(uname -r)

    I've been installing Kubuntu off and on for several weeks for a project I'm working on. I have an Nvidia 1080 Ti and for every single install, I have to boot into safe mode graphics (doesn't load wayland) and install the ubuntu-drivers nvidia

    I attempted to install ubuntu-drivers nvidia, but the driver failed to build. Troubleshooting more, I tried to install the nvidia .run driver from their website and it couldn't locate the kernel headers. Looking into this more, I manually installed the linux header header and reinstalled the ubuntu-driver nvidia driver and it worked fine.

    I was getting some very odd behavior (see below preliminary troubleshooting)
    boopsyou@boopsyou-x870steellegendwifi:~$ sudo ubuntu-drivers install nvidia-driver-580
    All the available drivers are already installed.

    boopsyou@boopsyou-x870steellegendwifi:~$ sudo apt remove nvidia-driver-580
    Package 'nvidia-driver-580' is not installed, so not removed

    boopsyou@boopsyou-x870steellegendwifi:~$ nvidia-smi
    NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.\

    lsmod | grep nvidia
    returned nothing

    sudo dpkg -l | grep -i nvidia
    returned nothing

    Basically the fix was to run sudo apt install linux-headers-$(uname -r)
    I reinstalled another time to reproduce the issue.
    I've been installing using the same iso image numerous times over the past week weeks and like I mentioned, it only started over the weekend​
    Last edited by boopsyou; Nov 24, 2025, 11:37 PM.

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X