andrewrothstein / ansible-miniconda

MIT License
28 stars 26 forks source link

bzip2 dependency on EL7 #4

Closed akosel closed 6 years ago

akosel commented 7 years ago

Hi there, thanks for putting this together.

On EL7, my install fails with:

fatal: [54.89.244.157]: FAILED! => {"changed": true, "cmd": ["/tmp/Miniconda3-4.2.12-Linux-x86_64.sh", "-b", "-p", "/opt/Miniconda3-4.2.12-Linux-x86_64"], "delta": "0:00:00.159964", "end": "2017-01-12 19:17:04.687991", "failed": true, "rc": 1, "start": "2017-01-12 19:17:04.528027", "stderr": "tar (child): bzip2: Cannot exec: No such file or directory\ntar (child): Error is not recoverable: exiting now\ntar: Child returned status 2\ntar: Error is not recoverable: exiting now", "stdout": "PREFIX=/opt/Miniconda3-4.2.12-Linux-x86_64", "stdout_lines": ["PREFIX=/opt/Miniconda3-4.2.12-Linux-x86_64"], "warnings": []}

I was able to work around this by running sudo yum install bzip2, removing /opt/Miniconda3-4.2.12-Linux-x86_64, and re-running my playbook.

Not urgent, but figured it was worth bringing up in case anyone else runs into the same problem.

andrewrothstein commented 6 years ago

The role depends on andrewrothstein.unarchive-deps which should install bzip2 before attempting the Miniconda install. Please reopen if ur still having this problem.