How to get the rpm packages update history

Many Organizations require you to update patches to solve the vulnerabilities in their production environment, red hat releases updates from time to time, so in order to check the already installed packages history a Linux Engineer( L2/L3) has few questions in mind ie:

  • How to list all packages updates and applied time in my system
  • How to check my Linux system patch history.

There are two method to get this information.

1. You can use following command to check particular package update history.

#rpm -q <package name> –last

example :

#rpm -q kernel –last
kernel-2.6.18-371.8.1.el5                     Fri 06 Jun 2014 04:46:36 AM GMT

For complete package update history use following command.

#rpm -qa –last

2. If you are scheduling automatic package updates on RHN,  you can check this in system event history on RHN under particular system profile on RHN.

RHN > System > Event > History


Leave a Reply

Your email address will not be published. Required fields are marked *