Bug 21731

Summary: RPM DB Failed !!!!!!!!!
Product: Mageia Reporter: Rom Quidam <alphonix>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: Normal CC: davidwhodgins
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: rpmdrake-6.27-1.mga6 CVE:
Status comment: This problem has been repeated several times

Description Rom Quidam 2017-09-18 01:37:37 CEST
RPM DB Failed !!!!!!!!! (This problem has been repeated several times)

Theme name: Adwaita
Kernel version = 4.9.43-desktop-1.mga6
Distribution=Mageia release 6 (Official) for x86_64
CPU=Intel(R) Pentium(R) D CPU 3.20GHz
Rom Quidam 2017-09-18 01:38:46 CEST

Status comment: (none) => This problem has been repeated several times

Comment 1 Dave Hodgins 2017-09-18 14:32:22 CEST
As root, in konsole or other terminal program, run

rm -f /var/lib/rpm/__db.*
rpm --rebuilddb

The database corruption typically occurs when an update of the rpm database is
interrupted, for example by powering off the system while a package is being
installed.

Closing this bug report as a duplicate.

*** This bug has been marked as a duplicate of bug 4918 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE
CC: (none) => davidwhodgins