You are not logged in.
Pages: 1
I was just doing the routinely apr update and apt upgrade, but the linux kernel was nit updated:
The following packages have been kept back:
linux-image-amd64
I did an apt autoremove, but got the same result with the apt upgrade.
Here is the apt policy:
root@rygel:~# apt policy linux-image-amd64
linux-image-amd64:
Installed: 6.1.76-1
Candidate: 6.1.124-1
Version table:
6.1.124-1 500
500 http://deb.devuan.org/merged daedalus-updates/main amd64 Packages
6.1.123-1 500
500 http://deb.devuan.org/merged daedalus/main amd64 Packages
6.1.119-1 500
500 http://deb.devuan.org/merged daedalus-security/main amd64 Packages
*** 6.1.76-1 100
100 /var/lib/dpkg/status
I did not set any apt policies (at least I think so)
Offline
Probably your linux image 6.1.76 is set on "hold".
dpkg --status linux-image-6.1.76-1
check for third line Status : MUST NOT contain hold
apt-mark unhold linux-image-6.1.76-1
To unhold all held packages, use this command:
apt-mark unhold $(apt-mark showhold)
Then try a new update
Last edited by bai4Iej2need (2025-02-02 18:57:47)
The devil, you know, is better than the angel, you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
broken by design :
https://bugs.debian.org/cgi-bin/bugrepo … bug=958390
Offline
OK, that one didn't worked directly, so I did:
~# dpkg --status linux-image-amd64
Package: linux-image-amd64
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 13
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Source: linux-signed-amd64 (6.1.76+1)
Version: 6.1.76-1
Provides: linux-image-generic, linux-latest-modules-6.1.0-18-amd64, virtualbox-guest-modules, wireguard-modules (= 1.0.0)
Depends: linux-image-6.1.0-18-amd64 (= 6.1.76-1)
Description: Linux for 64-bit PCs (meta-package)
This package depends on the latest Linux kernel and modules for use on PCs
with AMD64, Intel 64 or VIA Nano processors.
Built-Using: linux (= 6.1.76-1)
which let me check the specific version:
:~# dpkg --status linux-image-6.1.0-18-amd64
Package: linux-image-6.1.0-18-amd64
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 398601
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: amd64
Source: linux-signed-amd64 (6.1.76+1)
Version: 6.1.76-1
Replaces: linux-image-6.1.0-18-amd64-unsigned
Depends: kmod, linux-base (>= 4.3~), initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool
Recommends: firmware-linux-free, apparmor
Suggests: linux-doc-6.1, debian-kernel-handbook, grub-pc | grub-efi-amd64 | extlinux
Breaks: fwupdate (<< 12-7), initramfs-tools (<< 0.120+deb8u2), wireless-regdb (<< 2019.06.03-1~)
Conflicts: linux-image-6.1.0-18-amd64-unsigned
Description: Linux 6.1 for 64-bit PCs (signed)
The Linux kernel 6.1 and modules for use on PCs with AMD64, Intel 64 or
VIA Nano processors.
.
The kernel image and modules are signed for use with Secure Boot.
Built-Using: linux (= 6.1.76-1)
So even more questions..
Offline
Then maybe some answers (after you checked for no held packages) from:
apt update && apt install linux-image-amd64
Offline
Note that the installed linux-image-amd64=6.1.76-1 has its "depends"
Depends: linux-image-6.1.0-18-amd64 (= 6.1.76-1)
which is that exact version of linux-image-6.1.0-18-amd64.
The new version of linux-image-amd64 (the one held back) has its own exact dependency on some other package linux-image-*-amd64 which is not currently installed. Therefore an upgrade, which does not install new packages, will not upgrade linux-image-amd64 (since it would then need to install that new package).
See man apt-get about the upgrade parameter.
You would get it upgraded, and the new package installed, by using
apt-get dist-upgrade
EDIT: seeing you use apt rather than apt-get there is a slight difference, see the upgrade parameter notice in man apt; it's due to the same sort of logic but applied to removing packages.
EDIT 2: it's never too early to start reading "man" pages...
Offline
I normally do just apt upgrade and I get the newer kernels. I tried it now and I aborted the upgrade because I got a warning of grave bugs in rsync.
Then I tried
apt install linux-image-amd64
which was already installed, and that gets me the newer kernel and headers without the rest of the upgrades.
Offline
As an apt user I use the following two commands:
# apt update
# apt full-upgrade -V
and I am getting the full picture every time.
Offline
Pages: 1