Difference between revisions of "Yum:changelog"

From SME Server
Jump to navigationJump to search
m (Add category)
Line 10: Line 10:
 
== Usage examples ==
 
== Usage examples ==
 
Show the complete change log of the '''installed''' e-smith-base RPM:
 
Show the complete change log of the '''installed''' e-smith-base RPM:
  yum changelog all e-smith-base
+
  yum --changelog all e-smith-base
 
or
 
or
  yum changelog all e-smith-base | less
+
  yum --changelog all e-smith-base | less
 
 
  
 +
Show the last[n] change log entries of the '''installed''' e-smith-base RPM
 +
yum --changelog 2 e-smith-base
  
  
 
Show the latest change log of an RPM package that is available on one of the enabled repo's:
 
Show the latest change log of an RPM package that is available on one of the enabled repo's:
 
  yum update e-smith-base --changelog
 
  yum update e-smith-base --changelog
 
 
  
  
 
Show all changes logs of an RPM available through an available repo since a certain date:
 
Show all changes logs of an RPM available through an available repo since a certain date:
  yum changelog 01-01-2014 e-smith-base
+
  yum --changelog 01-01-2014 e-smith-base
 
 
 
 
  
 
[[Category:Useful Commands:Yum]]
 
[[Category:Useful Commands:Yum]]
 
[[Category:Useful Commands]]
 
[[Category:Useful Commands]]

Revision as of 15:00, 20 October 2014

About

The optional yum change log module provides a way to examine the change log of available repo updates or already installed RPM packages installed through yum.

Installation

The yum change log module is available through the default SME Server repo's, so no additional repo's are required. To install the module, as root enter:

yum install yum-changelog python-dateutil

After installation, yum change log is immediately available without any further configuration to either yum or SME Server.


Usage examples

Show the complete change log of the installed e-smith-base RPM:

yum --changelog all e-smith-base

or

yum --changelog all e-smith-base | less

Show the last[n] change log entries of the installed e-smith-base RPM

yum --changelog 2 e-smith-base 


Show the latest change log of an RPM package that is available on one of the enabled repo's:

yum update e-smith-base --changelog


Show all changes logs of an RPM available through an available repo since a certain date:

yum --changelog 01-01-2014 e-smith-base