Hari ini menemukan error saat menjalankan perintah rpm:
error: db4 error(-30988) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
Googling sebentar, ketemu juga cara solve masalahnya. Saya salin-tempel di bawah (sebagai catatan juga buat saya).
On Aug 14, 2006, at 2:16 PM, James A Williams wrote:
>
> Hi,
>
> Problem with the rpm database. Each time I install an rpm I get
> error: db4 error(-30988) from dbcursor->c_get: DB_PAGE_NOTFOUND:
> Requested page not found
>
> How do I fix this?
>
This command will remove the cache which (for whatever reason) does
not have
a requested page:
rm -f /var/lib/rpm/__db*
Note that what you *DO NOT WANT* to do is
rpm --rebuilddb
because you will have data loss from recreating your rpmdb with a
damaged cache
still present. Doing --rebuilddb after removing the __db* files won't
hurt (but is likely
unnecessary).
Removing the cache "fixes" the problem every case I''ve seen or know
about.