Truls
-------- Original Message -------- Subject: rpm database error Date: Thu, 14 Oct 2004 19:11:35 +0200 From: Truls Gulbrandsen <trulsg@xxxxxxxxxxxx> Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
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]#
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
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
Attachment:
signature.asc
Description: OpenPGP digital signature