Re: 2.5 'what to expect'

From: Jamie Lokier (jamie@shareable.org)
Date: Sat Jul 12 2003 - 10:24:06 EST


Dave Jones wrote:
> - Some people seem to have trouble running rpm, most notably Red Hat 9 users.
> This is a known bug of rpm.
> Workaround: run "export LD_ASSUME_KERNEL=2.2.5", before running rpm.

Ah, _thank you_.

It's not an rpm bug, as such; it's a problem/bug with DB4, the
Berkeley DB library.

I just spent 2 hours trying to figure out why rpm was failing.
write() returning EINVAL for no reason? Finally spotted that O_DIRECT
was the significant bit.

I don't raise any eyebrows when rpm has a bug - after all, it's had
quite a few. But I was disappointed to find Berkeley DB's own db_dump
unable to read the rpm database too.

End result: I copied an rpm database from another machine. It's wrong
for this machine, but nearly right. Ah well.

If I'd only known about the LD_ASSUME_KERNEL fix sooner.

Can this go into Documentation/Changes, please?

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:44 EST