RPM na SUSe 9.3

Merhaba!

Instalirao sam SUSE 9.3 Pro i kad zelim instalirati neki rpm bilo prek Yasta ili rpm -i komande bobijam ove greske:


rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery

(ovo je samo dio, ima ih mala milijarda).
Program mogu pokrenut, ali zna biti jako cudan. Kako da sredim ovaj problem?

I, da li mogu MacOS aplikacije pokretati na Linuxu?

Scary message, isn’t it? The message is harmless, caused by an off-by-1
problem in the refcoun of a page, but the refcount is used for nothing
except generating a scary error message.

This is a bug that was in db-3.3.11, with a patch from Sleepycat that was
applied in rpm-4.0.3, but the patch dropped out of db-4.0.11 used
by rpm-4.0.4, now the patch is reapplied again, will be in rpm-4.0.4 final.

Hvala… Znaci trebam updateovati rpm na verziju 4.0.4.

Mislim da nema potrebe (na Suse 9.3 je već rpm 4.1.1 !?), dovoljno je kao root kucati naredbu rpm --rebuilddb (ovdje su dvije crtice). To će malo duže trajati ali poslije toga je obično RPM baza ok.

Samo da napomenem ako već nije poznato: rpm koji želiš instalirati mora biti napravljen za tu distribuciju koju koristiš tj. za SuSE 9.3. Svi drugi rpm-ovi mogu javljati greške. Pakete za MAC nećeš moći instalirati ali pakete iz sourca naravno možeš kompajlirati.

rpm --rebuilddb sve rjesava… Hvala vam!