Changes from Version 1 of YumHistory

Show
Ignore:
Author:
skvidal (IP: 98.122.161.79)
Timestamp:
06/04/10 17:34:43 (8 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YumHistory

    v0 v1  
     1= Yum History Command = 
     2 At the end of 2009 (or thereabouts) a 'history' command was added to yum. The history command allows an admin to access detailed information on the history of yum transactions that have been run on a system. 
     3 
     4Yum started keeping a sqlite db of the information from each and every transaction. The history is organized by transaction id. Each 
     5time you perform a 'yum' command which changes your system pkgs in someway the history db is updated with this information. 
     6The history command provides you a way to search  
     7 
     8   - yum history list [pkgname...] [transaction_id...] 
     9      a table of the transactions. It takes two optional arguments. A package name/glob and a transaction id number.  
     10 
     11      For example:      'yum history list zsh' will return a table of all the transactions where the pkg 'zsh' was modified in some way 
     12                        'yum history list 1 2 10' will return a table of transactions 1, 2 and 10. 
     13 
     14   - yum history info [pkgname...] [transaction_id ...] 
     15     same arguments as 'list' but provides detailed information on the transaction. You may best use this piped to 'less'. 
     16    
     17 
     18   - yum history summary [pkgname...] [transaction_id ...] 
     19     create a summary of what the transactions have done. example: 
     20 
     21    {{{ 
     22        yum history summary glibc 
     23        Login user                 | Time                | Action(s)        | Altered  
     24        ------------------------------------------------------------------------------- 
     25        seth vidal <skvidal>   | Last 3 months       | E, I, O, U       |     1873 
     26        seth vidal <skvidal>   | Last 6 months       | I, U             |      154 
     27        seth vidal <skvidal>   | Last year           | Update           |       16 
     28     }}} 
     29 
     30 
     31 
     32      Undo – undo what a transaction did 
     33    ● 
     34      Redo/repeat – redo what a transaction did 
     35    ● 
     36      New – create a new history db, preserving the old one 
     37    ●