Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPM [Centos7] Error reading package header #119

Open
bameur opened this issue Jul 2, 2019 · 0 comments
Open

RPM [Centos7] Error reading package header #119

bameur opened this issue Jul 2, 2019 · 0 comments

Comments

@bameur
Copy link

bameur commented Jul 2, 2019

TASK [oracle-java : install RPM] ***********************************************
task path: /deployment-bigdata/roles/oracle-java/tasks/installation/redhat/main.yml:25

fatal: [mymachine]: FAILED! => {
    "changed": false,
    "module_stderr": "Shared connection to mymachine closed.\r\n",
    "module_stdout": "Traceback (most recent call last):\r\n  File \"/home/ansible/.ansible/tmp/ansible-tmp-1562079731.24-245936140655475/AnsiballZ_yum.py\", line 113, in <module>\r\n    _ansiballz_main()\r\n  File \"/home/ansible/.ansible/tmp/ansible-tmp-1562079731.24-245936140655475/AnsiballZ_yum.py\", line 105, in _ansiballz_main\r\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n  File \"/home/ansible/.ansible/tmp/ansible-tmp-1562079731.24-245936140655475/AnsiballZ_yum.py\", line 48, in invoke_module\r\n    imp.load_module('__main__', mod, module, MOD_DESC)\r\n  File \"/tmp/ansible_yum_payload_jLUU4j/__main__.py\", line 1119, in <module>\r\n  File \"/tmp/ansible_yum_payload_jLUU4j/__main__.py\", line 1108, in main\r\n  File \"/tmp/ansible_yum_payload_jLUU4j/__main__.py\", line 1024, in ensure\r\n  File \"/tmp/ansible_yum_payload_jLUU4j/__main__.py\", line 591, in install\r\n  File \"/tmp/ansible_yum_payload_jLUU4j/__main__.py\", line 506, in local_nvra\r\n  File \"/usr/lib64/python2.7/site-packages/rpm/transaction.py\", line 170, in hdrFromFdno\r\n    raise rpm.error(\"error reading package header\")\r\n_rpm.error: error reading package header\r\n",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 1
}

you can help me? the rpm is well downloaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant