On 09/14/2009 12:13 PM, Jesse Keating wrote:
On Mon, 2009-09-14 at 12:26 -0400, Mike McLean wrote:
It is unfortunate that this incompatibility was introduced in rpm, but
it was for a good reason -- sha256 sums replaced semi-insecure md5sums.

Note that you'll have rpmdb mismatches even when creating an EL5 chroot
on EL5, if you create an i386 chroot on an x86_64 host.  Just that
difference is enough to cause rpmdb mismatches.  A work around if you
must work within the chroot is to remove the db cache, rm
-f /var/lib/rpm/__db*

With F11, I have found that I also had to remove /var/lib/rpm/Packages when doing anything in an EL5 chroot that mucks with the rpmdb. e.g. Building ISOs with Revisor. (My Makefile also does '/bin/rpm --rebuilddb' before executing Revisor)


--
---
Paul B Schroeder <paul.schroeder "at" bluecoat "dot" com>
Blue Coat Systems, Inc.

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to