Article ID: 124122, created on Jan 1, 2015, last review on Jan 1, 2015

  • Applies to:
  • Operations Automation 5.5


The following error occurs when running update/precheck for update/hotfix:

ExecFailed: <__main__._SingleStringCommandLineBuilder instance at 0x20e2830> exited with non-zero status 1

The following message can be found in /var/log/poa-update.log:

2014-10-07 05:54:26.303  INFO [prepare] -> updating deployment binaries and scripts
Loaded plugins: fastestmirror
Determining fastest mirrors
Determining fastest mirrors
Metadata Cache Created
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve repository metadata (repomd.xml) for repository: cfengine-repository. Please verify its path and try again
2014-10-07 05:54:31.839 ERROR ExecFailed ("['yum', '-y', '-e', '0', 'install', 'poaupdater'] exited with non-zero status 1",) while updating deployment binaries and scripts
2014-10-07 05:54:31.839 ERROR poaupdater.uUtil.ExecFailed
['yum', '-y', '-e', '0', 'install', 'poaupdater'] exited with non-zero status 1
2014-10-07 05:54:31.885 ERROR
  at execCommand (/usr/local/pem/var/updates/poa-5.5-5562_update07_KB122905/poaupdater/ :88) in raise ExecFailed(command, status)
  at __performSelfUpdate (./update :40) in uUtil.execCommand(["yum", "-y", "-e", "0", "install", "poaupdater"])
  at doPrepare (./update :1232) in __performSelfUpdate(uAction.progress)
  at main (./update :1782) in binfo = doPrepare(build_directories)


One of the installed repositories is not accessible, cfengine-repository in this particular example.


If this is custom repository added manually - it should be disabled by changing enabled=1 to enabled=0 in the file /etc/yum.repos.d/repo_name. If this a system-enabled repository this communication issue should be fixed. Re-run the update/precheck procedure after applying the changes.

Search Words


Cannot retrieve repository metadata


update installation

5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF