when I run up2date on rhe 3.0

When I run up2date -u now I get the following error.


Code:
rpmdb: fatal region error detected; run recovery
error: db4 error(-30982) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30982)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 993, in ?
    main()
  File "/usr/sbin/up2date", line 601, in main
    ret = sanityChecks(fromDaemon, hasGui)
  File "/usr/sbin/up2date", line 272, in sanityChecks
    if cfg["useGPG"] and gpgUtils.checkGPGInstallation() == 2:
  File "gpgUtils.py", line 33, in checkGPGInstallation
  File "gpgUtils.py", line 71, in findKey
  File "rpmUtils.py", line 111, in installedHeadersNameVersion
TypeError: rpmdb open failed
anyone know why this is happening?

 

 

 

 

Top