From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131 Description of problem: I've written mach, a chroot builder. It bootstraps the least amount of packages necessary to get apt-get running, and then forces a consistency update. I have observed that running rpm --root (path to chroot) -qa can give errors when run sudo or as root, while it works fine as user. I've been able to reproduce this on two Red Hat 9 (non-updated) machines, so it should be reproducable. Version-Release number of selected component (if applicable): rpm-4.2-0.69 How reproducible: Always Steps to Reproduce: 1. Get mach from http://thomas.apestaart.org/projects/mach/ 2. Read the README and get the packages to install redhat 9 3. run "make rpm-build" in dist/redhat-9-i386 4. install libvorbis by doing sudo /usr/sbin/chroot /usr/local/mach/root apt-get install libvorbis (this triggers install as well) 5. leave the chroot and run sudo /bin/rpm --root /usr/local/mach/root -qa Actual Results: rpm -qa throws an error, stopping at unzip last bit of output: redhat-rpm-config-8.0.21-1 unzip-5.50-7 error: db4 error(-30989) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found Expected Results: when running /bin/rpm --root /usr/local/mach/root -qa, no errors are thrown, and the whole package list is returned. redhat-rpm-config-8.0.21-1 unzip-5.50-7 libvorbis-1.0-7 glibc-2.3.2-11.9 As you can see, the first package returned after unzip is the newly installed libvorbis rpm. Additional info: Running rpm as root instead of sudo root also gives the same error. Sorry to make it some effort to reproduce using mach, but I've taken some time to get to the easiest way to reproduce this with the least amount of factors affecting the install. Hope this helps us both :)
Hmmm. This *might* be a dupe of bug 88720.
*** This bug has been marked as a duplicate of 88720 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.