yum

Comparing Installed vs Update Package Versions on CentOS 7 & 8

Submitted by kevin on Wed, 03/10/2021 - 21:20

When updating CentOS it can be very useful as a sysadmin to compare the incoming update package versions against the currently installed version. However this isn't an overly easy task as the installed version numbers are not printed out in the resulting dnf/yum update summary table.

Updates coming in can be seen in the summary table by runningĀ 

dnf update

However a safer command (as you have to rememeber to cancel the command) is:

Fixing CentOS Yum Diff Warnings

Submitted by kevin on Mon, 12/19/2016 - 13:16

Having been a linux system administrator for quite some time, one of the main annoyances has been fixing changed files when the package maintainers have also added to them. Mostly this can be avoided by using the package.d/custom.conf settings files, however sometimes we are forced to make changes to the core package files.

On the last update the following conflicts came up on one of our systems: