Re: I have a corrupt FC6 rpmdb after a timed-out yum update; rpm --rebuilddb fails

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kenneth Wolcott wrote:
> Hi;
>
>   I have a corrupt FC6 rpmdb after a timed-out yum update;
>
>   attempt to rebuild fails:
>
> rpm --rebuilddb fails:
>
> rpmdb: PANIC: fatal region error detected; run recovery
> error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal
> error, run database recovery
> error: cannot open Packages index using db3 -  (-30977)
>
> How to repair the rpm db?
>
> Thanks,
> Ken Wolcott

Hi !

I face the same problem sometimes. I do rm -rf /var/lib/rpm/__db*

after that yum update/install and then yum clean all

then the occurrence frequency of the above decreases.

the best way is pirut/pup i guess.

regards,
amit.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFtOheDlUL5E3antERAp+xAKCWNqtTXudO5qdSk6BxT9MvFl8eygCeNM1h
76kuZF1+Bc9j2DATLzEvc/s=
=vuDB
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux