rpm-python source code
seth vidal
skvidal at phy.duke.edu
Mon Apr 26 15:28:40 UTC 2004
On Mon, 2004-04-26 at 11:20, Hans Christian Studt wrote:
> Hi,
>
> I am trying to trace down a problem where YUM only install 1 of 475 packages.
>
> It seems that the problem is i a library functions called by YUM.
>
> YUM never returns from "errors = tsfin.run(cb.callback, '')".
>
> print _('#DEB# 04710 before callback.RPMInstallCallback()')
> cb = callback.RPMInstallCallback()
> print _('#DEB# 04720 after callback.RPMInstallCallback()')
> print _("#DEB# 04810 before errors = tsfin.run(cb.callback, '')")
> Question
> 1 Which package/libary is calling the callback function ?
> 2 How do I get the source to that package/libary ?
that's rpm
the callback is just an interface into ts.run which is
rpm/TransactionSet.run()
You'd be better served by adding
rpm.setVerbosity(rpm.RPMLOG_DEBUG) right after rpm is imported into yum.
then you'll get the rpm debug info.
-sv
More information about the test
mailing list