Yum DuplicateOptionError 代理

Yum DuplicateOptionError 代理

我不知道我到底在做什么 :(。我尝试使用 BigFix 修补 CentOS。不知何故,目标出现了错误日志。这是日志的一部分:

    47790    : 2019-06-13 23:06:46 : INFO     : 01 setup and request repomd.xml
47790    : 2019-06-13 23:06:46 : CRITICAL : Unexpected error!
47790    : 2019-06-13 23:06:46 : CRITICAL : Exception type: <class 'configparser.DuplicateOptionError'>
47790    : 2019-06-13 23:06:46 : CRITICAL : While reading from '/etc/yum.conf' [line 14]: option 'proxy' in section 'main' already exists
Traceback (most recent call last):
  File "<string>", line 47, in <module>
  File "<string>", line 41, in main
  File "bfyum/cli/setup.py", line 71, in do
  File "bfyum/yum.py", line 24, in __init__
  File "bfyum/config.py", line 25, in __init__
  File "bfyum/config.py", line 71, in load_sys_yum_config
  File "configparser.py", line 672, in read
  File "configparser.py", line 1070, in _read
configparser.DuplicateOptionError: While reading from '/etc/yum.conf' [line 14]: option 'proxy' in section 'main' already exists
47792    : 2019-06-13 23:06:46 : DEBUG    : Exit code file is not None, and /var/opt/BESClient/EDRDeployData//EDR_ExitCode_19067901 is a file. Reading file ...
47792    : 2019-06-13 23:06:46 : DEBUG    : Exit code file, first row is not 0. Will not continue.
47792    : 2019-06-13 23:06:46 : ERROR    : Lock repo data will not continue, last command exit code is not 0
47795    : 2019-06-13 23:06:46 : DEBUG    : Exit code file is not None, and /var/opt/BESClient/EDRDeployData//EDR_ExitCode_19067901 is a file. Reading file ...
47795    : 2019-06-13 23:06:46 : DEBUG    : Exit code file, first row is not 0. Will not continue.
47795    : 2019-06-13 23:06:46 : ERROR    : Dependency resolution will not continue, last command exit code is not 0
47799    : 2019-06-13 23:06:47 : DEBUG    : Exit code file is not None, and /var/opt/BESClient/EDRDeployData//EDR_ExitCode_19067901 is a file. Reading file ...
47799    : 2019-06-13 23:06:47 : DEBUG    : Exit code file, first row is not 0. Will not continue.
47799    : 2019-06-13 23:06:47 : ERROR    : yum command not continue, last command exit code is not 0

Yum 配置中的代理似乎有问题,重复?请给出一些提示或解释,我该怎么办?

谢谢。

相关内容