trying to do yuom install scribus I get this:
Component: Software Installer Summary: TB6b5e0e87 config.py:661:_getsysver:TypeError: rpmdb open failed
Traceback (most recent call last): File "/usr/sbin/system-install-packages", line 243, in ? main() File "/usr/sbin/system-install-packages", line 236, in main pkginst = SinglePackageInstaller() File "/usr/sbin/system-install-packages", line 57, in __init__ GraphicalYumBase.__init__(self, False) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 124, in __init__ plugin_types=(yum.plugins.TYPE_CORE,)) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup self.conf = config.readMainConfig(startupconf) File "/usr/lib/python2.4/site-packages/yum/config.py", line 598, in readMainConfig yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.4/site-packages/yum/config.py", line 661, in _getsysver idx = ts.dbMatch('provides', distroverpkg) TypeError: rpmdb open failed
Local variables in innermost frame: installroot: / ts: <rpmUtils.transaction.TransactionWrapper instance at 0x9323b0c> distroverpkg: redhat-release
I get very similar messages doing just yum with no arguments.
Ideas?
Dave
On Thu, 1 Feb 2007, Dave Stevens wrote:
trying to do yuom install scribus I get this:
Component: Software Installer Summary: TB6b5e0e87 config.py:661:_getsysver:TypeError: rpmdb open failed
This is one of two problems.
Either it is the rpm locking problem (which is a known issue). Reboot the machine and see if the problem goes away. If it does, then it is a known issue.
I have also seen some problems where yum errors out. Running "yum clean all" seems to fix the problem.
If those two fail try "rpm --rebuilddb".
Hope that helps.
Traceback (most recent call last): File "/usr/sbin/system-install-packages", line 243, in ? main() File "/usr/sbin/system-install-packages", line 236, in main pkginst = SinglePackageInstaller() File "/usr/sbin/system-install-packages", line 57, in __init__ GraphicalYumBase.__init__(self, False) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 124, in __init__ plugin_types=(yum.plugins.TYPE_CORE,)) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup self.conf = config.readMainConfig(startupconf) File "/usr/lib/python2.4/site-packages/yum/config.py", line 598, in readMainConfig yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg) File "/usr/lib/python2.4/site-packages/yum/config.py", line 661, in _getsysver idx = ts.dbMatch('provides', distroverpkg) TypeError: rpmdb open failed
Local variables in innermost frame: installroot: / ts: <rpmUtils.transaction.TransactionWrapper instance at 0x9323b0c> distroverpkg: redhat-release
I get very similar messages doing just yum with no arguments.
Ideas?
Dave
On Thu, 2007-02-01 at 10:50 -0800, alan wrote:
On Thu, 1 Feb 2007, Dave Stevens wrote:
trying to do yuom install scribus I get this:
Component: Software Installer Summary: TB6b5e0e87 config.py:661:_getsysver:TypeError: rpmdb open failed
This is one of two problems.
Either it is the rpm locking problem (which is a known issue). Reboot the machine and see if the problem goes away. If it does, then it is a known issue.
I have also seen some problems where yum errors out. Running "yum clean all" seems to fix the problem.
If those two fail try "rpm --rebuilddb".
I'd recommend an "rm -rf /var/lib/rpm/__db*" (two underscores) before the "rpm --rebuilddb".
---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent - - process. Prepare to vi." - ----------------------------------------------------------------------