Yum Update fehlgeschlagen “StopIteration” hdr = idx.next ()

693
martin

Einfach eine Routine ausprobieren yum update

Und zuerst das bekommen:

... Cleanup : ncurses-base-5.7-3.20090208.el6.x86_64 553/554  Cleanup : libgcc-4.4.7-16.el6.x86_64 554/554   Rpmdb checksum is invalid: dCDPT(pkg checksums): glibc-headers.x86_64 0:2.12-1.212.el6 - u 

yum updateWieder laufen :

error: db3 error(-30986) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 298, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 115, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig self.conf File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda> conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartupConfig startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysver hdr = idx.next() StopIteration 

Als nächstes ausführen, was empfohlen wurde unter: https://www.redhat.com/archives/rhl-list/2006-November/msg05907.html

rm -f / var / lib / rpm / __ *; rpm -vv --rebuilddb

D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.15483 D: creating directory /var/lib/rpmrebuilddb.15483 D: opening old database with dbapi 3 D: opening db environment /var/lib/rpm create:cdb:mpool:joinenv D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: locked db index /var/lib/rpm/Packages D: opening new database with dbapi 3 D: opening db environment /var/lib/rpmrebuilddb.15483 create:mpool:joinenv D: opening db index /var/lib/rpmrebuilddb.15483/Packages create mode=0x42 D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm D: closed db index /var/lib/rpmrebuilddb.15483/Packages D: closed db environment /var/lib/rpmrebuilddb.15483 D: removing directory /var/lib/rpmrebuilddb.15483 $yum update Traceback (most recent call last): (same stack trace) 

Dies ist ein Centos Cloudera Quickstart Docker-Container, der aus cloudera / quickstart: Spinning gesponnen wurde

CentOS release 6.10 (Final) Kernel \r on an \m 

Danke im Voraus!

0

0 Antworten auf die Frage