[Yum-devel] yum 2.1.3

seth vidal skvidal at phy.duke.edu
Mon Sep 20 20:02:49 UTC 2004


On Mon, 2004-09-20 at 15:12 -0400, Michael Jennings wrote:
> On Monday, 20 September 2004, at 14:40:35 (-0400),
> seth vidal wrote:
> 
> > Does the same thing happen on rpm 4.2.2?
> 
> Any particular reason you chose 4.2.2 over, e.g., 4.2.3 or 4.3.2?
> Merging all our patches into 4.2.2 is going to take a bit of time.
> 
> > how about rpm-python version?
> 
> It's part of the rpm package, so it too is 4.2.1-10.caos.
> 
> > let's try a VERY simple case, too:
> > run python
> > >>> import rpm
> > >>> ts = rpm.TransactionSet()
> > >>> ts.addErase('yum')
> > >>> for te in ts:
> > ...     print te.N()
> > 
> > press enter twice.
> > 
> > tell me what you get.
> 
> It prints "yum" on a line by itself.


hmm, ok try this:

run python
>>> import rpm
>>> ts = rpm.TransactionSet()
>>> for te in ts:
...     print te.N()

and see what it does.

-sv





More information about the Yum-devel mailing list