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

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



Here's what I had to do (by hand) to all of our servers...

rm /var/lib/rpm/__*
rpm --rebuilddb

Frustrating, but necessary...

Norman

------------------------------------------------------
Norman Elton
Information Technology - Network Engineering
College of William & Mary
757-221-7790


On Dec 23, 2004, at 3:03 AM, Dr. Guenter Schmidt wrote:


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

admin viola(54)# up2date
New Up2date available
Restarting up2date
admin 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 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 bruker de
NMR Software Department     Tel: +49 721 5161 443
Bruker BioSpin GmbH         Fax: +49 721 5161 480


_______________________________________________ rhn-users mailing list rhn-users redhat com https://www.redhat.com/mailman/listinfo/rhn-users




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