Results 1 to 4 of 4

Thread: kernel is pointing to the wrong headers.

  1. #1
    Join Date
    Jul 2016
    Beans
    3

    kernel is pointing to the wrong headers.

    I updated... something. There were some modules that required manual fixing because they were not part of dkms, so I did that. It all looked very minor. I installed linux-headers-6.2.0-24-generic over linux-headers-6.2.0-20-generic. While I was at it, I also upgraded the nVidia graphics drivers and lost my graphics. (That's not what I'm writing about here though.)

    When I rebooted, I had no network. It turns out that the module for my ethernet device, igc, is in linux-headers-6.2.0-20-generic but not in linux-headers-6.2.0-24-generic. What's up with that? The problem is that I can't figure out how to get Ubuntu to go back to using linux-headers-6.2.0-20-generic. I tried apt install --reinstall linux-headers-6.2.0-20-generic. It did not work. I could put a softlink from linux-headers-6.2.0-24-generic to linux-headers-6.2.0-20-generic but sounds like begging for big trouble.

    Is there a clean, official way of doing this? I looked and I couldn't find anything.

    For the .deb files, I'm moving them from my laptop to my desktop with a USB stick.

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: kernel is pointing to the wrong headers.

    I don't understand what you did that for and why(???) Up until today, the current HWE kernel was 6.2.0-26, which had a few challenges that were fixed in today's kernel update, which is now 6.2.0-31...

    What you just posted doesn't match any of those.

    To top that off, the installed kernel header file needs to match the version of linux-generic, linux-modules and linux-modules-extra

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Jul 2016
    Beans
    3

    Re: kernel is pointing to the wrong headers.

    I figured it out. All I had to do was go to the "advanced" part of the boot menu and select the correct kernel version there.

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: kernel is pointing to the wrong headers.

    And which version was that?

    What you've said doesn't quite make sense as grub normally chooses the correct most recent kernel, and that version would pull in the correct header packages as dependencies.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •