[Yum-devel] yum 2.2.0 plans and new yum-HEAD
Terje Rosten
terje.rosten at ntnu.no
Tue Feb 8 20:30:57 UTC 2005
* 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?
- Terje
More information about the Yum-devel
mailing list