• Re: Re: apt install kernel ... problem

    From Robert Heller@3:633/10 to All on Saturday, September 05, 2026 19:20:01
    The sequence:

    sudo apt update
    sudo apt full-upgrade
    sudo apt autoremove

    Will (amoungst other things) upgrade the kernel to the latest stable kernel. There really is not any reason to specificly do an apt install linux-image-amd64, *unless* there is some reason you need to install some "special" kernel (eg an RT or debug kernel, etc.).

    Note:

    sudo apt upgrade

    *won't* install a new kernel, but

    apt full-upgrade

    will.

    This is a subtle difference between the two apt sub-commands: kernels (and a few other packages) are *never* "upgraded" by installing a newer version over the old one, they are always a "new" install. To avoid totally filling up /boot with many kernel images, older ones (2-3 versions down) are marked as auto-removable and can be cleaned up with apt autoremove.

    At Sat, 5 Sep 2026 12:08:24 -0400 Greg Wooledge <greg@wooledge.org> wrote:


    On Sat, Sep 05, 2026 at 17:57:51 +0200, Gerard ROBIN wrote:
    Thanks for your help.

    dpkg -l "linux-image*"
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase?d)
    ||/ Name Version Architecture Description
    +++-====================-======-======-=================
    ii linux-image-6.12.94+deb13-amd64 6.12.94-1 amd64 Linux 6.12 for 64-bit PCs (signed)
    un linux-image-6.12.94+deb13-amd64-unsigned <none> <none> (no description available)
    ii linux-image-amd64 6.12.94-1 amd64 Linux for 64-bit PCs (meta-package)
    un linux-image-generic <none> <none> (no description available)

    When was the last time you did an "apt update" on this system? linux-image-amd64 should be on version 6.12.107-1 now.

    If apt update doesn't work, then you should check your sources.list or debian.sources file and make sure it includes both the main repository
    and the security updates.

    Another helpful command may be "apt policy linux-image-amd64".




    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Charles Curley@3:633/10 to All on Saturday, September 05, 2026 20:30:01
    On Sat, 5 Sep 2026 13:15:14 -0400 (EDT)
    Robert Heller <heller@deepsoft.com> wrote:

    Note:

    sudo apt upgrade

    *won't* install a new kernel, but

    apt full-upgrade

    will.


    That depends. This is correct if you do not have linux-image-amd64
    installed. If you do, "upgrade" will upgrade linux-image-amd64, which
    will drag in the latest kernel as a dependency. Just the thing for lazy
    bums like me.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Charles Curley@3:633/10 to All on Saturday, September 05, 2026 21:30:01
    On Sat, 5 Sep 2026 18:51:34 +0000
    Andy Smith <andy@strugglers.net> wrote:

    If you don't, or if you just prefer it, you can install apticron to do
    same on a systemd timer or cron job.

    Or look into the unattended-upgrades package.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)