I have tried to be careful to run as specified.
I attempted to go back through the mailing list, but nothing quite like this jumped out
...
2.6.25.11-97.fc9.x86_64
mock-0.9.9-1.fc9.noarch.rpm
commands attempted:
# mock -r fedora-devel-i386 --init
# mock -r fedora-devel-i386 --no-clean --install pungi
# cp dev-9 /var/lib/mock/fedora-rawhide-i386/root/tmp
# mock -r fedora-devel-i386 --chroot "/usr/bin/pungi -c /tmp/dev-9 --ver=F9
--flavor=FJ --nosource"
Result:
Pungi.ERROR: Got an error from /usr/lib/anaconda-runtime/buildinstall
Pungi.ERROR: error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/repoquery", line 853, in <module>
main(sys.argv)
File "/usr/bin/repoquery", line 750, in main
repoq.doConfigSetup(fn=opts.conffile, debuglevel=initnoise,
init_plugins=opts.plugins)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 134, in
doConfigSetup
errorlevel=errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 182, in
_getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 732, in
readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 802, in
_getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yumdownloader", line 277, in <module>
util = YumDownloader()
File "/usr/bin/yumdownloader", line 42, in __init__
self.main()
File "/usr/bin/yumdownloader", line 51, in main
opts = self.doUtilConfigSetup()
File "/usr/share/yum-cli/utils.py", line 69, in doUtilConfigSetup
errorlevel=opts.errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 182, in
_getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 732, in
readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 802, in
_getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
Show replies by date
On Mon, 2008-08-04 at 13:31 -0600, Phil Meyer wrote:
I have tried to be careful to run as specified.
I attempted to go back through the mailing list, but nothing quite
like this jumped out ...
The rpm used to create the buildroot is 64bit, the rpm used inside the
buildroot is 32bit. You'll need to remove the cached database files
from /var/lib/rpm/__db* inside the chroot.
--
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca:
http://identi.ca/jkeating
Jesse Keating wrote:
On Mon, 2008-08-04 at 13:31 -0600, Phil Meyer wrote:
> I have tried to be careful to run as specified.
> I attempted to go back through the mailing list, but nothing quite
> like this jumped out ...
The rpm used to create the buildroot is 64bit, the rpm used inside the
buildroot is 32bit. You'll need to remove the cached database files
from /var/lib/rpm/__db* inside the chroot.
mock -r fedora-9-i386 --shell "rm -rf /var/lib/rpm/__db.00*"