PDA

View Full Version : gpk-update-viewer broke Yum and Yumex after updates



dcharlespyle
11th August 2012, 02:21 AM
I ran gpk-update-viewer to do some updates that were available. About halfway through, after installing but while cleaning, gpk-update-viewer crashed, vanished, and left me unable to use Yumex. This is what I get when I try to run it:


19:12:13 : network interface em1 (r8169) is connected
19:12:14 : Connected to an network
19:12:14 : Starting yum child process
19:12:14 : Initialize yum backend - BEGIN <yum_backend.setup>
19:12:14 : Setup START <yum_backend.setup>
19:12:18 : Command to run : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf <yum_backend.setup>
19:12:18 : LAUNCHER: Ready for commands <yum_backend._check_for_message>
19:12:18 : Sending: #run args: ['UycvdXNyL3NoYXJlL3l1bWV4L3l1bV9jaGlsZHRhc2sucHkgM iBUcnVlIEZhbHNlIC9ldGMveXVtLmNvbmYnCnAwCi4='] <yum_backend._send_command>
19:12:18 : Setup END <yum_backend.setup>
19:12:18 : LAUNCHER - Starting : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf <yum_backend._check_for_message>
19:12:19 : Using yum debuglevel = 2 <yum_backend._check_for_message>
19:12:19 : YUM: Yum Version : 3.4.3
19:12:19 : YUM: BDB2053 Freeing read locks for locker 0x8d: 3434/140387945936896
19:12:19 : YUM: BDB2053 Freeing read locks for locker 0x8e: 3434/140387945936896
19:12:19 : YUM: BDB2053 Freeing read locks for locker 0x8f: 3434/140387945936896
19:12:19 : YUM: BDB2053 Freeing read locks for locker 0x90: 3434/140387945936896
19:12:19 : YUM: Loaded plugins: langpacks, presto
19:12:19 : YUM: Traceback (most recent call last):
19:12:19 : YUM: File "/usr/share/yumex/yum_childtask.py", line 66, in <module>
19:12:19 : YUM: my = YumServer(debuglevel, plugins, offline, repos, yum_conf)
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 188, in __init__
19:12:19 : YUM: self.doLock()
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 261, in doLock
19:12:19 : YUM: yum.YumBase.doLock(self)
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1963, in doLock
19:12:19 : YUM: if self.conf.uid != 0:
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1017, in <lambda>
19:12:19 : YUM: conf = property(fget=lambda self: self._getConfig(),
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 372, in _getConfig
19:12:19 : YUM: startupconf.pluginconfpath,disabled_plugins,enable d_plugins)
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 619, in doPluginSetup
19:12:19 : YUM: plugin_types, confpath, disabled_plugins, enabled_plugins)
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 165, in __init__
19:12:19 : YUM: self.run('config')
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
19:12:19 : YUM: func(conduitcls(self, self.base, conf, **kwargs))
19:12:19 : YUM: File "/usr/lib/yum-plugins/langpacks.py", line 133, in config_hook
19:12:19 : YUM: conduit.registerCommand(LanginstallCommand())
19:12:19 : YUM: File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 553, in registerCommand
19:12:19 : YUM: raise Errors.ConfigError(_('registration of commands not supported'))
19:12:19 : YUM: yum.Errors.ConfigError: registration of commands not supported
19:12:19 : LAUNCHER: Ready for commands <yum_backend._check_for_message>

Yumex doesn't allow anything to be done with it further. If I try to run Yum afterward I get messages regarding removing locks four times. A second run will allow Yum to run and install things most of the time.

Version of Yum Extender is 3.0.6.

Any ideas?

glennzo
11th August 2012, 08:38 AM
I would start by running

yum clean all
and then run yum again to see if the errors disappear. You did say yum will work sometimes.

dcharlespyle
12th August 2012, 06:05 PM
I did those but it didn't work. I did remove a hidden rpm lock file and part of the errors went away. Yumex remains broken, however.

I still get the following:


10:58:48 : INFO - Starting yum child process
10:58:53 : INFO - YUM: Yum Version : 3.4.3
10:58:53 : INFO - YUM: Loaded plugins: dellsysid, fs-snapshot, langpacks, presto, upgrade-helper
10:58:54 : INFO - YUM: Traceback (most recent call last):
10:58:54 : INFO - YUM: File "/usr/share/yumex/yum_childtask.py", line 66, in <module>
10:58:54 : INFO - YUM: my = YumServer(debuglevel, plugins, offline, repos, yum_conf)
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 188, in __init__
10:58:54 : INFO - YUM: self.doLock()
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 261, in doLock
10:58:54 : INFO - YUM: yum.YumBase.doLock(self)
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1960, in doLock
10:58:54 : INFO - YUM: if self.conf.uid != 0:
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda>
10:58:54 : INFO - YUM: conf = property(fget=lambda self: self._getConfig(),
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 372, in _getConfig
10:58:54 : INFO - YUM: startupconf.pluginconfpath,disabled_plugins,enable d_plugins)
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 619, in doPluginSetup
10:58:54 : INFO - YUM: plugin_types, confpath, disabled_plugins, enabled_plugins)
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 165, in __init__
10:58:54 : INFO - YUM: self.run('config')
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
10:58:54 : INFO - YUM: func(conduitcls(self, self.base, conf, **kwargs))
10:58:54 : INFO - YUM: File "/usr/lib/yum-plugins/langpacks.py", line 133, in config_hook
10:58:54 : INFO - YUM: conduit.registerCommand(LanginstallCommand())
10:58:54 : INFO - YUM: File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 553, in registerCommand
10:58:54 : INFO - YUM: raise Errors.ConfigError(_('registration of commands not supported'))
10:58:54 : INFO - YUM: yum.Errors.ConfigError: registration of commands not supported