rpm database error

Truls Gulbrandsen trulsg at broadpark.no
Thu Oct 14 17:11:35 UTC 2004


-----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 at 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 at 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-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: trulsg.vcf
Type: text/x-vcard
Size: 237 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041014/2335b63a/attachment-0001.vcf>


More information about the fedora-list mailing list