Re: Running rpm inside mock's chroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-06-06 at 15:10 -0600, Orion Poplawski wrote:

> bash-3.1# rpm -qa
> rpmdb: Program version 4.3 doesn't match environment version
> error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database 
> environment version mismatch
> error: cannot open Packages index using db3 -  (-30974)
> error: cannot open Packages database in /var/lib/rpm
> 
> Any ideas why?

The db was probably generated from outside of the chroot with the host's
rpm, not the one in the chroot, and the two aren't compatible.  You
should be able to use the host one for querying, like "rpm
--root /var/lib/mock/$dist/root -qa"

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux