mock problems on f10
Clark Williams
williams at redhat.com
Sun Feb 15 15:11:07 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 14 Feb 2009 19:32:38 +0200
Lucian Langa <cooly at gnome.eu.org> wrote:
> Hello,
> I'm having trouble building anything with mock
> (mock-0.9.13-1.fc10.noarch) for fedora-rawhide-x86_64.
> The error I'm getting is: rpmdb: Program version 4.5 doesn't match
> environment version 4.7
> This happens even if I do a complete cleanup and reinit.
>
> wiping __db* from chroot, rebuilddb locally:
>
> rpmdb --dbpath /var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm/
> --rebuilddb
>
>
> seems to work but as soon as trying to rebuild any package won't work:
>
Sounds like you might have a cached mock root that has an old version
of rpm. Try removing /var/lib/mock/cache/fedora-rawhide-x86_64 and see
if that fixes it. If not we'll have to dig a little deeper.
I'm about to push mock-0.9.14-1 for f10 (it's on rawhide now)
and since that moves the cache directory from /var/lib/mock/cache
to /var/cache/mock you'll have to rebuild caches again anway.
I've been meaning to add that cache clean option. Guess I need to move
that up the priority list...
Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
iEYEARECAAYFAkmYMJEACgkQHyuj/+TTEp07DgCgg3tkiQuXEOLCzd7CzeYtY/t4
33wAnjAuHmgcdXUqzHuI7mfWvh0Z3nPI
=RnAp
-----END PGP SIGNATURE-----
More information about the Fedora-buildsys-list
mailing list