Page 1 of 1

RPM DB Always Corrupt

PostPosted: May 4th, '14, 17:55
by mrligugu
Dear fellow Mageians,

I will cut straight to the point. The RPM database is always corrupting and I am always having to rebuild it via konsole. Does anyone have any ideas on how to solve this problem once and for all, so that this no longer happens, because it has happenned a number of times now and is starting to annoy me.

All help is much appreciated as always! :)

-MrLigugu

Re: RPM DB Always Corrupt

PostPosted: May 5th, '14, 03:02
by benmc
Hi

sorry to hear that you are having problems.
I take it that the problem occurs when you attempt to install / uninstall a program.
It could be that you have a corrupted / failing HDD and that part of the RPM DB is written to that sector of the drive.
Another option is that the mirror you are accessing has a problem with access and is causing issues downloading a valid RPM DB- unlikely but it can occur.
I suggest- if you haven't already, to swap out the HDD and try another and / or
manually set your mirror to a different one.

Re: RPM DB Always Corrupt

PostPosted: May 5th, '14, 17:49
by doktor5000
benmc wrote:Another option is that the mirror you are accessing has a problem with access and is causing issues downloading a valid RPM DB- unlikely but it can occur.

Downloading valid rpm DB? Downloading packages does not have anything to do with rpm DB at all ...

Re: RPM DB Always Corrupt

PostPosted: May 9th, '14, 10:38
by Akien
mrligugu wrote:Dear fellow Mageians,

I will cut straight to the point. The RPM database is always corrupting and I am always having to rebuild it via konsole. Does anyone have any ideas on how to solve this problem once and for all, so that this no longer happens, because it has happenned a number of times now and is starting to annoy me.

All help is much appreciated as always! :)

-MrLigugu


I supposed you already tried to delete /var/lib/rpm/__db* ?

Re: RPM DB Always Corrupt

PostPosted: May 9th, '14, 16:57
by linuxero
Do you by any chance have the system shutdown or reboot for any reason while using rpmdrake?

Maybe if the power goes off while installing, removing or updating some programme could cause a sudden failure for your rpm DB..