dnf-changelog
View package changelogs
TLDR
View all changelogs for a given package
View all changelogs for a given package after a specified date
View the last n number of changelogs for a given package
Show only new items for upgradeable packages
Display help
SYNOPSIS
dnf changelog [options] [package-spec...]
PARAMETERS
--repoid=repoid
Specify a repository ID to include or exclude packages from when searching for changelogs.
--all
Display changelogs for all installed and all available packages.
--available
Show changelogs only for available (not necessarily installed) packages.
--installed
Show changelogs only for installed packages. This is the default behavior if no package-spec is provided.
--count=number
Limit the number of changelog entries displayed per package to the specified number.
--xml
Output the changelog information in XML format, which is useful for machine parsing.
DESCRIPTION
The dnf-changelog command is a plugin for the DNF package manager, designed to retrieve and display the changelog entries for installed or available packages. A changelog provides a historical record of modifications, bug fixes, and new features implemented in a package over time. This functionality is crucial for users needing to understand a package's evolution, troubleshoot issues, or verify specific changes. By default, if no specific package is named, dnf-changelog lists changelogs for all currently installed packages. Users can refine their search by specifying package names, filtering by repository ID, limiting the number of entries, or choosing to view changelogs for only available or all packages. The command also supports outputting the changelog in an XML format for easier programmatic processing.
CAVEATS
The accuracy and detail of changelog entries depend on the information provided within the RPM packages themselves. Not all packages may contain comprehensive changelogs, or they might follow varying formats. Querying changelogs for a very large number of packages without specific filters can be resource-intensive and slow.
EXIT STATUS
The command typically returns an exit status of 0 on success, and a non-zero value (usually 1) if an error occurs during execution, such as an invalid option or a failure to retrieve changelog data.
HISTORY
dnf-changelog is part of the dnf-plugins-core package, extending the functionality of the DNF package manager. It provides a modern equivalent to similar changelog capabilities found in the older YUM ecosystem, adapting to DNF's plugin architecture to offer robust package history viewing.