On an NUC PC (Intel) I do get this message: The following packages have been kept back - linux-image-amd64
Never had this message before.
I am running DietPi v9.14.2
Thanks for any help
On an NUC PC (Intel) I do get this message: The following packages have been kept back - linux-image-amd64
Never had this message before.
I am running DietPi v9.14.2
Thanks for any help
did you already tried to install the package?
apt install linux-image-amd64
And a small hint, you don’t need to do screen prints. Simply copy past your SSH terminal output.
Just tried that:
root@DietPi:~# apt install linux-image-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-image-6.12.32+bpo-amd64 : PreDepends: linux-base (>= 4.12~) but 4.9 is to be installed
E: Unable to correct problems, you have held broken packages.
Info:
echo “$G_DISTRO_NAME”
uname -a
shows
root@DietPi:~# echo "$G_DISTRO_NAME"
uname -a
bookworm
Linux DietPi 6.12.30+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.30-1~bpo12+1 (2025-06-14) x86_64 GNU/Linux
root@DietPi:~#
You must now follow the dependency tree and see where exactly the dependency problem lies
apt install linux-base
THX
I got this information:
root@DietPi:~# apt install linux-base
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-base is already the newest version (4.9).
linux-base set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@DietPi:~#
can you try this one
apt install --reinstall linux-base
AAHHH wait,
it seems the kernel has been installed from backports. Debian -- Details of package linux-image-amd64 in bookworm-backports
Therefore, the base package is not matching. Did you have done this by purpose?
That was based on an advice from @MichaIng due to problems with Thunderbolt
sudo apt update
sudo apt install -t bookworm-backports linux-image-amd64
Have a look here:
It depends on the linux-base
package from backports as well. apt upgrade
is conservative when upgrades would pull in dependencies from other suites. Try this again, telling it to use backports explicitly (including dependencies where needed):
sudo apt install -t bookworm-backports linux-image-amd64
Since linux-base
is from backports afterwards, future upgrades won’t be hold back anymore.
THX @MichaIng
I do get this information:
root@DietPi:~# sudo apt install -t bookworm-backports linux-image-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-6.12.30+bpo-amd64
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
linux-base linux-image-6.12.32+bpo-amd64
Suggested packages:
linux-doc-6.12 debian-kernel-handbook
Recommended packages:
apparmor
The following NEW packages will be installed:
linux-image-6.12.32+bpo-amd64
The following packages will be upgraded:
linux-base linux-image-amd64
2 upgraded, 1 newly installed, 0 to remove and 65 not upgraded.
Need to get 108 MB of archives.
After this operation, 110 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Is it OK to say “Yes”?
Yes, this is the expected summary.