Re: Damaged rpm database?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/6/07, M. Fioretti <mfioretti@xxxxxxxxxxx> wrote:
> On Sat, Oct 06, 2007 04:24:35 AM -0700, Akemi Yagi (amyagi@xxxxxxxxx) wrote:
> > On 10/6/07, Steven Haigh <netwiz@xxxxxxxxx> 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

If the rebuilding process went through without any problem, it is
likely that you have repaired the rpm database successfully.

Akemi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux