[Spacewalk-list] Error while patching
Dhiraj Chopra
dhiraj.c at hcl.com
Tue Sep 10 14:02:10 UTC 2013
Hey ,
Made the changes and got the following error :
"Fatal error in Python code occured [[6]] "
And in the /var/log/up2date shows the following :
[Tue Sep 10 19:28:24 2013] up2date
Traceback (most recent call last):
File "/usr/sbin/rhn_check", line 283, in __run_action
(status, message, data) = CheckCli.__do_call(method, params)
File "/usr/sbin/rhn_check", line 275, in __do_call
method = getMethod.getMethod(method, "/usr/share/rhn/", "actions")
File "/usr/share/rhn/up2date_client/getMethod.py", line 78, in getMethod
actions = __import__(modulename)
File "/usr/share/rhn/actions/packages.py", line 266, in <module>
yum_base = YumAction()
File "/usr/share/rhn/actions/packages.py", line 62, in __init__
self.doConfigSetup(debuglevel=cfg["debug"])
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 205, in doConfi gSetup
return self.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 778, in <lambda >
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 311, in _getCon fig
self.plugins.run('init')
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/share/yum-plugins/rhnplugin.py", line 151, in init_hook
gpgcheck = conduit.confBool('main', 'gpgcheck', default_gpgcheck)
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 460, in confBool
return config.getOption(self._conf, section, opt, config.BoolOption(default ))
File "/usr/lib/python2.6/site-packages/yum/config.py", line 943, in getOption
return option.parse(val)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 333, in parse
raise ValueError('invalid boolean value')
<type 'exceptions.ValueError'>: invalid boolean value
-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Mattias Giese
Sent: Tuesday, September 10, 2013 7:15 PM
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Error while patching
Hi,
On 09/10/2013 03:34 PM, Dhiraj Chopra wrote:
> Error while executing packages action: Public key for
> acl-2.2.49-6.el6.i686.rpm is not installed [[6]]
You should either make sure that all relevant gpg keys for your repos are imported on the respective clients, or (if you have custom repos with unsigned rpms) you could deactivate gpg checking selectively or completely. Take a look at /etc/yum/pluginconf.d/rhnplugin.conf.
You are not seeing any .repo files because they are not used. The repo information is queried from within the rhnplugin.
Regards,
Mattias
--
Mattias Giese
Linux Consultant & Trainer
Mail: giese at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
More information about the Spacewalk-list
mailing list