$ python >>> import rpm segfaults. I have reproduced this with the latest python...rpm and rpm-python...rpm from rawhide. There does not appear to be a more recent version of glint. This makes the update agent unusable. I'm filing this against glint b/c $ rpm -q --file /usr/lib/python1.5/lib-dynload/rpm.so glint-2.6.2-1 strace indicates the most recent system call reads /usr/lib/rpm/rpmrc in one gulp. gdb backtrace: #0 0x4013b6d8 in main_arena () from /lib/libc.so.6 #1 0x4009fab7 in fputs () at iofputs.c:46 #2 0x401c127f in rpmError () from /usr/lib/python1.5/lib-dynload/rpm.so #3 0x401bafe1 in doReadRC () from /usr/lib/python1.5/lib-dynload/rpm.so #4 0x401ba7e4 in rpmReadRC () from /usr/lib/python1.5/lib-dynload/rpm.so #5 0x401ba644 in rpmReadConfigFiles () from /usr/lib/python1.5/lib-dynload/rpm.so #6 0x401b5242 in initrpm () from /usr/lib/python1.5/lib-dynload/rpm.so #7 0x805c414 in _PyImport_LoadDynamicModule () #8 0x805abb8 in PyImport_ExecCodeModuleEx () #9 0x805b655 in PyImport_ImportModuleEx () #10 0x805b2a7 in PyImport_ImportModuleEx () #11 0x805af98 in PyImport_ImportModule () #12 0x805b0b0 in PyImport_ImportModuleEx () #13 0x80740f0 in PyTuple_Fini () #14 0x8053ec0 in PyEval_CallObjectWithKeywords () #15 0x8053dd8 in PyEval_CallObjectWithKeywords () #16 0x8052aea in PyEval_EvalCode () #17 0x80512db in PyEval_EvalCode () etc.
glint will not work with rpm-3.0, period. Your best bet is to remove that shared object; if you want to use python RPM bindings, use the rpm-python module.