-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I am unable to run >yum update< as my rpm database has been corupted, please see the below errormessage. I have tried to run the below commands, which I found at RedHat, but without success:
#rm -f /var/lib/rpm/__db* #db_verify /var/lib/rpm/Packages #rpm --rebuilddb
This should fix your RPM database.
HTH, Prakash
Can someone help me, please
Truls Gulbrandsen
- -----------------------------------------------------------------------------
[root@localhost root]# yum update rpmdb: PANIC: fatal region error detected; run recovery error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30978) 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 [root@localhost root]#
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBbrNGickK29LSyG8RAjvPAKDFk/r/4av8FL8+JsTTujrXYea9ewCgwWZf HSSeXWz58BTH/1NNaIA7neg= =u0AS -----END PGP SIGNATURE-----
begin:vcard fn:Truls Gulbrandsen n:Gulbrandsen;Truls org:Oslo Philharmonic Orchestra adr:;;;Oslo;;;Norway email;internet:trulsg@xxxxxxxxxxxx tel;cell:+47 928 24 434 x-mozilla-html:FALSE url:http://www.oslophil.com version:2.1 end:vcard