[CentOS] Damaged rpm database?

Sat Oct 6 12:08:28 UTC 2007
M. Fioretti <mfioretti at nexaima.net>

On Sat, Oct 06, 2007 04:24:35 AM -0700, Akemi Yagi (amyagi at gmail.com) wrote:
> On 10/6/07, Steven Haigh <netwiz at crc.id.au> wrote:
> 
> > 2)  rpm --rebuilddb will do what you need.
> 
> Run this command with lots of caution.  Take a look at this page:
> 
> http://www.oldrpm.org/hintskinks/repairdb/
> 
> and try a step-by-step repair procedure.
> 

In my case, these two commands seem to have restored things without
problems:

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

meaning that now, rpm -qa --last doesn't give anymore any error.
Should I run some other check before officially declaring the problem
solved?

Thanks,
	Marco
-- 
Help *everybody* love Free Standards and Free Software!
http://digifreedom.net