How do I check the changes of a proposed package update?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 10
  • yum / dnf

Issue

  • How to know all changelogs of updates package?
  • Is it possible to check a package changelog without install it?

Resolution

RHEL 6 or 7

  • Install the yum-changelog plugin. The yum-changelog is a Yum plugin for viewing package changelogs before/after updating. The yum will invoke yum-changelog plugin if the --changelog option or the changelog command is used with yum.
[root@test01 ~]# yum install yum-plugin-changelog
  • To list the changelog for all packages, run:
[root@test01 ~]# yum changelog all
Loaded plugins: changelog, product-id, search-disabled-repos, subscription-
              : manager

Listing all changelogs

==================== Installed Packages ====================
libcroco-0.6.8-5.el7.x86_64              installed
* Fri Jan 24 10:00:00 2014 Daniel Mach <dmach@redhat.com> - 0.6.8-5
- Mass rebuild 2014-01-24

* Tue Jul 16 09:00:00 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.8-3
- Disable strict aliasing, since the code is not strict-aliasing-clean

* Fri Nov  9 10:00:00 2012 Kalev Lember <kalevlember@gmail.com> - 0.6.8-1
- Update to 0.6.8

xinetd-2.3.15-12.el7.x86_64            installed
* Fri Jan 24 10:00:00 2014 Daniel Mach <dmach@redhat.com> - 2:2.3.15-12
- Mass rebuild 2014-01-24

* Mon Jan  6 10:00:00 2014 Jan Synáček <jsynacek@redhat.com> - 2:2.3.15-11
- fixup of the previous patch
- Related:  #1037565
- Resolves: #1042357

* Fri Dec 27 10:00:00 2013 Daniel Mach <dmach@redhat.com> - 2:2.3.15-10
- Mass rebuild 2013-12-27
  • To list the changelog of the specific package, run:
[root@test01 ~]# yum changelog tree
Loaded plugins: changelog, product-id, search-disabled-repos, subscription-manager

Listing all changelogs

==================== Available Packages ====================
tree-1.6.0-10.el7.x86_64                 rhel-7-server-rpms
* Fri Jan 24 10:00:00 2014 Daniel Mach <dmach@redhat.com> - 1.6.0-10
- Mass rebuild 2014-01-24

* Fri Dec 27 10:00:00 2013 Daniel Mach <dmach@redhat.com> - 1.6.0-9
- Mass rebuild 2013-12-27

* Thu Jul  4 09:00:00 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-8
- Handle large UID/GID values (bug #980945).

* Thu Apr 11 09:00:00 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-7
- Document --du and --prune options in help output (bug #948991).

* Fri Feb 15 10:00:00 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sun Jul 22 09:00:00 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 10:00:00 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Mon Dec  5 10:00:00 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-3
- Put LFS_CFLAGS in CFLAGS not CPPFLAGS so they actually get used
  (bug #769655).

* Mon Jul  4 09:00:00 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-2
- Don't strip the binary too early (bug #718456).

* Mon Jun 27 09:00:00 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-1
- 1.6.0 (bug #716879).
  • To list the changelog while the package is update, run:
[root@test01 ~]# yum update tuned --changelog
Loaded plugins: changelog, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package tuned.noarch 0:2.5.1-4.el7_2.2 will be updated
---> Package tuned.noarch 0:2.5.1-4.el7_2.3 will be an update
--> Finished Dependency Resolution

Changes in packages about to be updated:

ChangeLog for: tuned-2.5.1-4.el7_2.3.noarch
* Tue Feb  9 10:00:00 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-4.3
- fixed traceback during restart attempt
  resolves: rhbz#1305903


===============================================================================
  tuned bug fix update
===============================================================================
  Update ID : RHBA-2016:0545
    Release : 
       Type : bugfix
     Status : final
     Issued : 2016-03-31 00:00:00
       Bugs : 1305903 - Traceback during profile selection in inactive tuned
Description : The tuned packages contain a daemon that tunes system settings
            : dynamically. It does so by monitoring the usage of
            : several system components periodically.
            : 
            : This update fixes the following bug:
            : 
            : * Due to a bug, if the tuned-adm command was
            :   issued while the tuned service was not running,
            :   an attempt to automatically restart the tuned
            :   service failed with a traceback. The underlying
            :   source code has been patched to handle automatic
            :   restarting of the daemon correctly. As a result,
            :   restarting the tuned service no longer fails in
            :   the described situation. (BZ#1305903)
            : 
            : Users of tuned are advised to upgrade to these
            : updated packages, which fix this bug.

Dependencies Resolved

==================================================================================================================================================================================================================================
 Package                                         Arch                                             Version                                                      Repository                                                    Size
==================================================================================================================================================================================================================================
Updating:
 tuned                                           noarch                                           2.5.1-4.el7_2.3                                              rhel-7-server-rpms                                           193 k

Transaction Summary
==================================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 193 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rhel-7-server-rpms
tuned-2.5.1-4.el7_2.3.noarch.rpm                                                                                                                                                                           | 193 kB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : tuned-2.5.1-4.el7_2.3.noarch                                                                                                                                                                                   1/2 
  Cleanup    : tuned-2.5.1-4.el7_2.2.noarch                                                                                                                                                                                   2/2 
  Verifying  : tuned-2.5.1-4.el7_2.3.noarch                                                                                                                                                                                   1/2 
  Verifying  : tuned-2.5.1-4.el7_2.2.noarch                                                                                                                                                                                   2/2 

Updated:
  tuned.noarch 0:2.5.1-4.el7_2.3                                                                                                                                                                                                  

Complete!

RHEL 8 or later

  • Install dnf-plugins-core package, as yum-plugin-changelog is part of this package since RHEL 8.
[root@test01 ~]# yum install dnf-plugins-core
  • To list the changelog for all packages, run:
[root@test01 ~]# yum changelog
Updating Subscription Management repositories.
Last metadata expiration check: 1:57:01 ago on Wed Dec 10 09:24:18 2025.
Listing all changelogs
Changelogs for xinetd-2:2.3.15-24.el8.x86_64
* Mon Aug 05 00:00:00 2019 Jan Synáček <jsynacek@redhat.com> - 2:2.3.15-24
- fix covscan (#1607030)

* Tue May 22 00:00:00 2018 Jan Synáček <jsynacek@redhat.com> - 2:2.3.15-23
- fix compilation, missing rpc headers (#1580970)

* Mon Dec 04 00:00:00 2017 Jan Synáček <jsynacek@redhat.com> - 2:2.3.15-22
- remove build dependency on tcp_wrappers (#1518797)
[...]
  • To list the changelog of the specific package, run:
[root@test01 ~]# yum changelog tree
Updating Subscription Management repositories.
Last metadata expiration check: 0:06:47 ago on Wed Dec 10 11:26:54 2025.
Listing all changelogs
Changelogs for tree-1.7.0-15.el8.x86_64
* Wed Nov 07 00:00:00 2018 Kamil Dudka <kdudka@redhat.com> - 1.7.0-15
- fix programming mistakes detected by static analysis (#1602718)

* Fri Feb 23 00:00:00 2018 Florian Weimer <fweimer@redhat.com> - 1.7.0-14
- Use LDFLAGS from redhat-rpm-config

* Mon Feb 19 00:00:00 2018 Kamil Dudka <kdudka@redhat.com> - 1.7.0-13
- add explicit BR for the gcc compiler
[...]

Diagnostic Steps

  • The more information can be found in package manual:
RHEL 6 or 7:
[root@test01 ~]# man yum-changelog
[root@test01 ~]# man yum-changelog.conf

RHEL 8 or later:
[root@test01 ~]# man dnf-changelog
  • Component
  • yum

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments