Why Debian APT Lists Different Upgrades on Identical Servers

aptdebian

I have two dedicated servers (virtual machines), located in the same datacenter, both running latest Debian Bullseye.

Today, I ran apt update on the first one, and it listed several packages to upgrade, related to PHP update from 7.4.21 to 7.4.25.

Then I ran the exact same command on the other server, which listed nothing. And I checked, PHP was still running the previous version 7.4.21.

Why the response of apt update is different on both servers?
Not a big issue, I guess the upgrades will come to the other one as well at some point, but I'm curious.

PS: my /etc/apt/sources.list is the exact same on both machines:

deb http://ftp.fr.debian.org/debian/ bullseye main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ bullseye main contrib non-free

# Debian backports - to get packages from testing and unstable releases - see https://wiki.debian.org/Backports
# deb http://ftp.fr.debian.org/debian/ bullseye-backports main contrib non-free

# security updates, urgent ones
deb https://deb.debian.org/debian-security bullseye-security main contrib non-free
deb-src https://deb.debian.org/debian-security bullseye-security main contrib non-free

# bullseye-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ bullseye-updates main contrib non-free

Best Answer

Are you sure that both server are simply in the exact same state of level packages ?

Differences can come from deep packages dependancies (maybe a little tool is installed is one server and not the second one), or from a material difference (storage difference, processor, ...)

You can check the entire list of installed packages with apt list in order to compare them !