000033093 - RSA Security Analytics server upgrade failing with python errors

Document created by RSA Customer Support Employee on Jun 30, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000033093
Applies ToRSA Product Set: Security Analytics
RSA Product/Service Type: SA Security Analytics Server
RSA Version/Condition: 10.5.X
IssueWhen upgrading SA server, the yum update command fails with following python errors.
[root@XXXX ~]# yum update -–exclude=nwbroker –y 
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 294, in user_main 
errcode = main(args) 
File "/usr/share/yum-cli/yummain.py", line 115, in main 
File "/usr/share/yum-cli/cli.py", line 251, in getOptionsConfig 
(opts, self.cmds) = self.optparser.setupYumConfig(args=args) 
File "/usr/share/yum-cli/cli.py", line 1456, in setupYumConfig 
(opts, cmds) = self.parse_args(args=args) 
File "/usr/lib64/python2.6/optparse.py", line 1396, in parse_args 
File "/usr/lib64/python2.6/optparse.py", line 140, in __str__ 
return _("no such option: %s") % self.opt_str 
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128) 
CauseFor unknown reasons, the python errors appear with a manual yum command.
ResolutionPlease follow below steps to resolve the issue:
      1. Login to SA server SSH session.
      2. Edit /etc/yum.conf file to add the below line and save the file. This excludes the nwbroker package from updating while SA server updates:


      3. Run yum update command to update the SA server without python errors.