mock rpmdb version issue with epel-5-i386 target
Paul B Schroeder
paul.schroeder at bluecoat.com
Mon Sep 14 18:29:37 UTC 2009
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.
More information about the Fedora-buildsys-list
mailing list