Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Red Hat Enterprise Linux 9
System Settings
Installing and Maintaining Software
Updating Software
Ensure dnf Removes Previous Package Versions
Ensure dnf Removes Previous Package Versions
An XCCDF Rule
Details
Profiles
Prose
Ensure dnf Removes Previous Package Versions
Low Severity
dnf
should be configured to remove previous software components after new versions have been installed. To configure
dnf
to remove the previous software components after updating, set the
clean_requirements_on_remove
to
1
in
/etc/dnf/dnf.conf
.