[Yum-devel] yum 2.2.0 plans and new yum-HEAD

seth vidal skvidal at phy.duke.edu
Tue Feb 8 20:37:52 UTC 2005


On Tue, 2005-02-08 at 21:30 +0100, Terje Rosten wrote:
> * seth vidal
> | 
> |   d. merge in Terje's rpm callback changes
> 
> New patch available here:
> 
>  http://web.phys.ntnu.no/~terjeros/yum/
> 
> (it does some whitespace cleanup too)
> 
> This yum script:
> 
>  remove sendmail
>  install postfix
>  install strace
>  remove gpdf
>  run
> 
> gives from the callback part:
> 
> Running Transaction
>   Rem: sendmail                     ################################ [3/4]
>   Ins: strace                       ################################ [4/4] 
>   Ins: postfix                      ################################ [5/4] 
>   Rem: gpdf                         ################################ [6/4]
> 
> 
> |  j. Your Idea Here.
> 
> The config file parser should be much more strict, e.g. if you use
> enable for enabled, the parser should complain. I will have a look at
> this one.  
> 
> I also want rpm transaction history, maybe by some sqlite code?
> 
> BTW: 
> 
>  When working on this, I found a change in rpm, with the current
>  rpm-4.4.1-0.18 release in rawhide.
> 
>  The callback is called _twice_ (or something) with the variable
>  'what' set to
> 
>   rpm.RPMCALLBACK_INST_OPEN_FILE
> 
>  for each package which is going to be installed.
> 
>  Hence the variable self.total_installed in callback.py is broken...
> 
>  Has anyone else seen this? Is it a bug in rpm, or what?
> 

whether or not it's an rpm 4.4 bug remains to be seen - but it's causing
breakage in yum, up2date and anaconda so far - so it has to get
addressed soon.

-sv





More information about the Yum-devel mailing list