On 10/6/07, M. Fioretti mfioretti@nexaima.net wrote:
On Sat, Oct 06, 2007 04:24:35 AM -0700, Akemi Yagi (amyagi@gmail.com) wrote:
On 10/6/07, Steven Haigh netwiz@crc.id.au wrote:
- 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
If the rebuilding process went through without any problem, it is likely that you have repaired the rpm database successfully.
Akemi