Bug 5303

Summary: Software Manager insists on updating an already updated component
Product: Mageia Reporter: Andrew <theamazingchiepoo>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: release_blocker    
Version: Cauldron   
Target Milestone: Mageia 2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: rpm-4.9.1.3-1.mga2.x86_64 CVE:
Status comment:

Description Andrew 2012-04-09 09:10:43 CEST
Description of problem:

After performing updates and installing new files, the RPM database for lack of better words, broke. Software Manager insists on updating RPMDrake related rpms including rpm-4.9.1.3-1.mga2.x86_64 after needing to perform the following commands in konsole

rm -f /var/lib/rpm/_*
rm -f /var/lib/rpm/.rpmlock (and for good measure since forums mentioned different solutions - rm -f /var/lib/rpm/.rpm.lock)
rpm --rebuilddb
urpmi --auto-update


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

Mageia 2 Caldron Beta 2


How reproducible:

Attempt to repair the RPM DB which broke after a system update by performing the following commands in terminal

rm -f /var/lib/rpm/_*
rm -f /var/lib/rpm/.rpmlock (and for good measure since forums mentioned different solutions - rm -f /var/lib/rpm/.rpm.lock)
rpm --rebuilddb
urpmi --auto-update
Andrew 2012-04-09 09:11:16 CEST

Priority: Normal => release_blocker
Target Milestone: --- => Mageia 2

Comment 1 Manuel Hiebel 2012-04-09 13:45:48 CEST
this was a bug of the beta2 an it's now resolved...

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

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

Comment 2 Manuel Hiebel 2012-04-09 13:47:21 CEST
And I guess you have two "rpm" packages installed so remove the old one and it should be ok