1 Mar 2005 01:45
[WBEL-users] yum troubles
Mickael Maddison <mike <at> kamloopsbc.com>
2005-03-01 00:45:46 GMT
2005-03-01 00:45:46 GMT
Hello whitebox-users,
what would cause this?
[root <at> loon root]# yum check-update
rpmdb: Program version 4.2 doesn't match environment version
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/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 163, in main
(log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
conf=yumconf(configfile=yumconffile)
File "/usr/share/yum/config.py", line 155, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/yum/config.py", line 285, in _getsysver
idx = ts.dbMatch('provides', self.distroverpkg)
TypeError: rpmdb open failed
#rpm --rebuilddb
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index
--
--
Best regards,
Mickael
(Continue reading)
I have completed the rebuilding of all the packages on a RedHatEL4beta2
PC (Duron 1200Mhz.... a nightmare it took 4 days) and I'm now trying to
make cd's out of it. I have to say I rebuilt all as root, and yes, I
know I shouldn't but when i figured that out it was too late (except
for the comps and kernel packages rebuilt as buildsys user, and gmp that
I had to rebuild on a different machine since duron doesn't support
sse2). I am following the Howto on whiteboxlinux.org, and I also red the
docs related as suggested on the site (howto burn redhat cd, edit
comps.xml etc). Things went quite smooth, I got some warnings while
running pkgorder but I red somewhere that capital WARNINGS are bad,
lower case warnings are "ok" (I get LOOP with cracklib and kernel/LVM
packages). I didn't edit comps.xml. So I have a pkgorder-i386.txt in my
basedir, and hdlist-hdlist2 in basedir/i386/RedHat/base. Then I run
splitcdset, and I get this error (root or buildsys user makes no diff).
It looks like splittree.py cannot read the headers generated by genhdlist:
[buildsys <at> rhel4beta2 4.0]$ ./splitcdset
Traceback (most recent call last):
File "/usr/lib/anaconda-runtime/splittree.py", line 455, in ?
logfile = timber.main()
File "/usr/lib/anaconda-runtime/splittree.py", line 380, in main
self.splitRPMS()
File "/usr/lib/anaconda-runtime/splittree.py", line 253, in splitRPMS
pkg_nvr = nvra("%s/%s/RPMS/%s" %(self.dist_dir, self.product_path,
filename))
File "/usr/lib/anaconda-runtime/splittree.py", line 39, in nvra
h = _ts.hdrFromFdno(fd)
rpm.error: error reading package header
RSS Feed