Changes from Version 1 of YumCodeSnippet/SimplestTransaction

Show
Ignore:
Author:
james (IP: 65.172.155.230)
Timestamp:
02/02/09 15:40:18 (9 years ago)
Comment:

move from snippets page

Legend:

Unmodified
Added
Removed
Modified
  • YumCodeSnippet/SimplestTransaction

    v0 v1  
     1 
     2Simplest transaction you can have (yum 3.2.7 and above): 
     3 
     4{{{ 
     5#!python 
     6my = yum.YumBase() 
     7my.install(name='somepackage') 
     8my.remove(name='someotherpackage') 
     9my.resolveDeps() 
     10my.processTransaction() 
     11}}}