[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RPM Database broken
- From: Francois Massonneau <frmas free fr>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: RPM Database broken
- Date: Wed, 19 Oct 2005 20:49:09 +0200
Hello,
I got a pb yesterday, when I wanted to run the usual "yum update" command.
I got the following message :
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run
database recovery
error: cannot open Packages index using db3 - (-30977)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 27, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 170, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "__init__.py", line 82, in doConfigSetup
File "config.py", line 271, in __init__
File "config.py", line 383, in _getsysver
TypeError: rpmdb open failed
Then I tried to delete the /var/lib/rpm/__db.* files, and reran the
command :
rpm -vv --rebuilddb
Same result :-( :
rpmdb: PANIC: fatal region error detected; run recovery
erreur: erreur db4(-30977) de dbenv->open: DB_RUNRECOVERY: Fatal error, run
database recovery
erreur: ne peut ouvrir l'index Packages en utilisant db3 - (-30977)
I deleted again the __db.* files and reran the same command.
This time, no more error messages.
It seemed it was ok, but nope ;-(
I can't any longer update a package, nor see the packages I installed a
while ago.
It seems that just a few packages are in the newly created (or repaired)
database, but not all packages installed by me, since I put that FC4 on my
system.
When I want to check an already installed packages, for example, wine (and I
know it is installed), I have that :
[root celtes5 addons]# wine
Wine 20050930
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
So it shows it is installed, then I type :
[root celtes5 addons]# rpm -ivh wine-*
erreur: Dépendances requises:
/bin/sh est nécessaire pour wine-20050930-1fc3winehq.i686
/usr/bin/perl est nécessaire pour
wine-devel-20050930-1fc3winehq.i386
perl(Cwd) est nécessaire pour wine-devel-20050930-1fc3winehq.i386
perl(File::Basename) est nécessaire pour
wine-devel-20050930-1fc3winehq.i386
perl(File::Copy) est nécessaire pour
wine-devel-20050930-1fc3winehq.i386
perl(strict) est nécessaire pour wine-devel-20050930-1fc3winehq.i386
;-(
Is there a way to rebuild the database with all the packages installed on
that computer, if so, how, and get a system that I can update as I want.
Thank you so much for you help, because I'm totally lost and I 'm a
newbie ;-(. Francois
--
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]