CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

dnf Updates and Transaction History

Covers the "install and update software packages" objective and the one dnf feature that can rescue a task: every transaction is logged and most can be undone. It also settles a question worth settling - RHEL 10 has no modularity at all, so the module streams in RHEL 8 and 9 study material do not exist here.

Managing Software Guide 16 of 67 Intermediate

dnf update and dnf upgrade are the same command. On this machine the local mirror matches the installed versions, so check-update correctly reports nothing - the exit status is the part to read.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

This guide includes

Use this when an update has to be checked, applied or undone. This matters because dnf keeps a transaction log you can roll back - and modularity, which older material spends pages on, does not exist on RHEL 10.

Before you start

  1. Checking for updates

  2. The transaction log

  3. Undoing a transaction

  4. Orphans and the cache

  5. Modularity does not exist on RHEL 10

Official sources