Announcement

Collapse
No announcement yet.

Will a apt-hold on Kernel 6.8.0-79-lowlatency, interfere with update-grub?

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

    Will a apt-hold on Kernel 6.8.0-79-lowlatency, interfere with update-grub?

    Nvidia will no longer be supporting older Nvidia GPU's on and there after Kernels 6.11, so I decided to apt-hold Kernel 6.8 and use it till it dies. I would normally do a web search for the answer, but am having a hard time forming the words in the engine to get a direct answer. I am dual booting and will be changing one of the systems shortly and was wondering if the hold on the kernel would interfere or break when the new install creates a new grub boot menu on the efi partition?

    #2

    AI Overview
    Using apt-mark hold on your current kernel packages prevents those specific kernel packages from being upgraded or removed during subsequent apt upgrade or apt dist-upgradeoperations.
    Specifically, this means:
    • No new kernel versions will be installed for the held packages:
      If a newer version of the exact kernel package you held becomes available, apt will not install it.
    • Security updates for the held kernel will not be applied:
      If the held kernel version receives security patches, these patches are typically delivered as updates to that specific kernel package. Holding the package prevents these security updates from being installed.
    • Other system updates may still occur:
      Holding the kernel packages does not prevent other non-kernel packages from being updated.
    • Potential for new kernel installations via metapackages:
      If you are using a kernel metapackage (e.g., linux-image-generic, linux-generic-hwe), and you only hold the specific real kernel package (e.g., linux-image-4.15.0-1007-aws), the metapackage itself might still be updated. This update could then pull in a new, unheld kernel package, effectively installing a newer kernel despite your hold on the older one. To fully prevent kernel upgrades, you typically need to hold both the specific real kernel packages and the relevant metapackages.

    Consequences of holding your kernel:
    To hold your kernel, you would typically use commands like:
    Code
    sudo apt-mark hold linux-image-$(uname -r) linux-headers-$(uname -r)And if using a metapackage, you might also need to hold it:
    Code
    sudo apt-mark hold linux-image-generic linux-headers-genericTo unhold the packages and allow updates:
    Code
    sudo apt-mark unhold linux-image-$(uname -r) linux-headers-$(uname -r)sudo apt-mark unhold linux-image-generic linux-headers-generic zz0.p4imsngrjp7zz
    Windows no longer obstruct my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment

    Users Viewing This Topic

    Collapse

    There are 0 users viewing this topic.

    Working...
    X