rpm database error - reposted
Ow Mun Heng
Ow.Mun.Heng at wdc.com
Mon Oct 18 03:44:07 UTC 2004
On Fri, 2004-10-15 at 22:39, Truls Gulbrandsen wrote:
> It seems as my original message drowned in other interesting subject so,
> therefor, here it is reposted.
I hope you have backups...:-)
I made them now, since I had that disaster.
which reminds me, I need to check if it's being updated
>
> Truls
>
> -------- Original Message --------
> Subject: rpm database error
> Date: Thu, 14 Oct 2004 19:11:35 +0200
> From: Truls Gulbrandsen <trulsg at broadpark.no>
> Reply-To: For users of Fedora Core releases <fedora-list at redhat.com>
> To: For users of Fedora Core releases <fedora-list at redhat.com>
>
>
>
> 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]#
>
>
>
> ______________________________________________________________________
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>
> ______________________________________________________________________
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 11:43:32 up 2:41, 9 users, load average: 0.52, 0.83, 0.77
More information about the fedora-list
mailing list