[Yum-devel] Need to destroy and rebuild the ts?y

David Farning dfarning at sbcglobal.net
Thu Feb 26 23:22:27 UTC 2004


On Thu, 2004-02-26 at 17:35 -0500, seth vidal wrote:
> On Thu, 2004-02-26 at 16:19 -0600, David Farning wrote:
> 
> > Just wrote this little test case.
> > 
> > Works like a charm:)  I'm I missing something?
> > 
> 
> Change the state of a header in the ts.
> 
> ts.addInstall(hdr, 'a')
> ts.addInstall(hdr, 'i')

The a,i, and u do not represent state they represent the action to take
when doing .check() and .run()

i=install, u=update, a= just available to the transaction when computing
dependencies but no action should be performed with it. 
 
There is no reason to both in the same hdr.  In fact, you are not
changing anything, you are adding another thing the todo list.  In the
above example: mom is saying look but don't touch, dad is saying go
ahead and touch and the poor kid is well on his way to becoming a
schizophrenic.


Dave Farning




More information about the Yum-devel mailing list