How Does Detect Packages with Pending Updates on Linux-based Operating Systems?

Follow

Due to the inherent complexity of identifying updateable packages across multiple operating systems, it is not uncommon to question how exactly Automox accomplishes this. In a nutshell, Automox utilizes the built-in package management systems of each operating system to identify which packages are installed, and which ones are available to update.

To identify pending patches on the Linux operating system, Automox issues a unique command to a target device depending on the version of Linux that is being run. Because there are often multiple methods of identifying updatable packages—and different methods can produce different pending patch counts—the methodology and commands used to determine pending patches for each operating system have been outlined below.

Amazon Linux

repoquery --pkgnarrow=updates -a

Ubuntu / Debian

aptitude search ~U

Fedora

dnf check-update

SLES

zypper list-updates -t package

RHEL / CentOS

repoquery --plugins --pkgnarrow=updates -a

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.