On Thursday 13 October 2005 18:44, Greg DeKoenigsberg wrote:
system itself via yum. I tried running against two different
Note: I did build a new kernel on this box, though I never actually ran
it. Could building the kernel have changed some things that Kadischi
assumes will be present by default?
No, it shouldn't have anything to do with the kernel on the parent system.
And would it help if I gave you the contents of rpm.TransactionSet
(rootdir) when I get this error?
Hm, we can try, but I think ts object is just the interface to the rpm
I think it would help if you could edit /usr/share/kadischi/lib/functions.py,
replace get_kernel_version function with the following:
def get_kernel_version (rootdir):
"""Returns kernel version that is installed on the destination
kernel_version = None
ts = rpm.TransactionSet (rootdir)
mi = ts.dbMatch ()
for hdr in mi:
print "%s-%s-%s" % (hdr['name'], hdr['version'],
for mi in ts.dbMatch ('name', 'kernel'):
kernel_version = "%s-%s" % (mi['version'], mi['release'])
And then send me the output. Kadischi will fail again, with the same error
message, but it will print the list of packages that are present in the rpm