A security update can be available on a Debian system while the old package is still installed. Two lines in APT’s output tell you which situation you have. This guide uses three Debian 12 updates from November 28–29 as examples.
Check the system that runs the software
Run these commands on the workstation or server that uses the package. If the application runs in a container, check inside the deployed container. The first command identifies the Debian release. The second reads APT’s local package information.
cat /etc/os-release
apt-cache policy roundcube-core chromium ruby-rmagick
Look for VERSION_CODENAME=bookworm before using the versions below. For each package, Installed shows the version on this system. Candidate shows what APT would select using its current package lists and priorities. If those lists are old, an administrator can refresh them with apt update and repeat the check. Refreshing the lists alone does not install a package. Debian Handbook on reading APT policy · Debian’s APT manual.
Three fixed builds for Debian 12 Bookworm
| Installed package | First fixed build for this advisory |
|---|---|
| Roundcube webmail core | 1.6.5+dfsg-1+deb12u14 |
| Chromium browser | 156.0.8078.114-1~deb12u1 |
| Ruby RMagick image-processing library | 4.2.3-2+deb12u1 |
Use the whole Debian version, including the suffix. For instance, a host running the Roundcube revision ending in deb12u13 still needs this fix even when its candidate ends in deb12u14. Debian often applies a fix to the release’s existing package, so its leading version number can stay the same. How Debian backports security fixes.
Close the loop after the update
If the installed package is behind, apply the update through the system’s usual package or image deployment process and recheck the installed version. If the candidate is also behind, check the configured security repository and package priorities. An empty result or Installed: (none) is a reason to check how the application was installed. A source checkout, Ruby gem or separately shipped container has its own update history.
Keep the release name, installed version, advisory and date with the maintenance record. For a fleet, record which hosts or images were checked. A single updated server cannot establish the state of its replicas.
