List installed linux-image packages
Read-onlydpkg -l 'linux-image-*' | awk '/^ii/{print $2}'Expect: Cloud images show linux-image-cloud-amd64. The generic metapackage is linux-image-amd64.
← Back to overviewAll commands
03 / FIELD NOTES
List installed linux-image packages to compare cloud and generic metapackages.
Cloud vs generic is easy to confuse in reinstall flags. Read what dpkg already installed before you pass --no-cloud-kernel or chase the wrong metapackage.
A Debian cloud image booted linux-image-cloud-amd64 and you need the other package name.
dpkg -l 'linux-image-*' | awk '/^ii/{print $2}'Expect: Cloud images show linux-image-cloud-amd64. The generic metapackage is linux-image-amd64.
Read-only. Cloud images use linux-image-cloud-amd64. The generic metapackage is linux-image-amd64. reinstall.sh accepts --no-cloud-kernel.
{
"slug": "cloud-kernel-package",
"risk": "safe",
"tags": [
"debian",
"grub",
"cloud",
"kernel"
],
"updated": "2026-10-28",
"pathIndex": null,
"why": "Cloud vs generic is easy to confuse in reinstall flags. Read what dpkg already installed before you pass --no-cloud-kernel or chase the wrong metapackage.",
"steps": [
{
"command": "dpkg -l 'linux-image-*' | awk '/^ii/{print $2}'",
"risk": "safe"
}
]
}