On Thursday, May 24, 2012 04:32:40 AM OnlyHuman wrote:
> Smart gives this message.
>
> rpmdb: /var/lib/rpm/Packages: BDB0088 DB_SECONDARY_BAD: Secondary
> index inconsistent with primary
> error: db3cpget:db3.c:1445: dbcursor->pget(-30972): BDB0088
> DB_SECONDARY_BAD: Secondary index inconsistent with primary
> error: error(-30972) getting keys from Basenames index
>
> rpmdb: /var/lib/rpm/Packages: BDB0088 DB_SECONDARY_BAD: Secondary
> index inconsistent with primary
> error: db3cpget:db3.c:1445: dbcursor->pget(-30972): BDB0088
> DB_SECONDARY_BAD: Secondary index inconsistent with primary
> error: error(-30972) getting keys from Basenames index
> rpmdb: /var/lib/rpm/Packages: BDB0088 DB_SECONDARY_BAD: Secondary
> index inconsistent with primary
---------SNIP--------
> error: db3cget:db3.c:1406: dbcursor->get(-30972): BDB0088
> DB_SECONDARY_BAD: Secondary index inconsistent with primary
> error: error(-30972) getting records from Name index
>
> Or is this just my install? I installed mtpaint with no problems.
I'm not using the latest Smart etc. But the obvious question is, have you done
rpm --rebuilddb ?
--
Richard.
su -
rm -f /var/lib/rpm/__db*
rpm --rebuilddb