Bug 14163

Summary: urpmi isn't startable after last update
Product: Mageia Reporter: Martin Schmitz <martin.schmitz>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: urpmi CVE:
Status comment:

Description Martin Schmitz 2014-09-24 15:27:23 CEST
Description of problem:

urpmi php-zip
Fehler: db5 error(-30973) from dbenv->open: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
Fehler: cannot open Packages index using db5 -  (-30973)
Fehler: Kann Paket-Datenbank in /var/lib/rpm nicht öffnen
Die rpm-Datenbank kann nicht geöffnet werden

Version-Release number of selected component (if applicable):

urpmi 8.0.0

How reproducible:

don't know. For me, I can copy my latest vm and can reproduce again

Steps to Reproduce:
1. run updates (perhaps it occures only im my constallation)

Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2014-10-08 00:46:04 CEST
This isn't a general problem, but your rpmdb got corrupted (it happens).

Run (as root):
rm -f /var/lib/rpm/__db*
rpm --rebuilddb

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 2 Martin Schmitz 2014-10-08 09:17:50 CEST
Thanks, I've already installed the system again. Next time if it happens again, I'll try your solution.