[rhn-users] rpm not functional after yesterdays up2date to RHEL3-U4

Dr. Guenter Schmidt guenter.schmidt at bruker.de
Thu Dec 23 08:03:40 UTC 2004


Since yesterdays up2date the 'rpm' command does not work anymore.
I did:

admin at viola(54)# up2date
New Up2date available
Restarting up2date
admin at viola(55)# up2date
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
   File "/usr/sbin/up2date", line 1174, in ?
     sys.exit(main() or 0)
   File "/usr/sbin/up2date", line 656, in main
     ret = sanityChecks(fromDaemon, hasGui)
   File "/usr/sbin/up2date", line 288, in sanityChecks
     if cfg["useGPG"] and gpgUtils.checkGPGInstallation() == 2:
   File "gpgUtils.py", line 31, in checkGPGInstallation
   File "gpgUtils.py", line 75, in findKey
   File "rpmUtils.py", line 102, in installedHeadersNameVersion
TypeError: rpmdb open failed


There had been an error message in the graphical display, bu I cant 
remember it.
I tried a

admin at viola(64)# rpm --rebuilddb
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index

But that didnt work either.
Any idea what to do now?


Thanks!

--
Dr. Günter Schmidt          E-Mail: guenter.schmidt at bruker.de
NMR Software Department     Tel: +49 721 5161 443
Bruker BioSpin GmbH         Fax: +49 721 5161 480





More information about the rhn-users mailing list