gdevenyi / NeuroAnsible

An ansible playbook to deploy a complete standalone neuroimaging workstation
GNU General Public License v3.0
23 stars 1 forks source link

ANTs failed installation due to lack of ZIP #28

Closed egarza closed 5 months ago

egarza commented 5 months ago

Ubuntu 24.04 LTS installation from scratch using WSL.

I got this error when installing ANTs.

TASK [science : Install ANTs] *************************************************************************************
fatal: [localhost]: FAILED! => changed=false
  msg: |-
    Failed to find handler for "/home/egarza/.ansible/tmp/ansible-tmp-1718644117.326626-12077-47800569070586/ants-2.5.2-ubuntu-22.04-X64-gccekpjclm0.zip". Make sure the required command to extract the file is installed.
    Unable to find required 'unzip' or 'zipinfo' binary in the path.
    Command "/usr/bin/tar" could not handle archive: Unable to list files in the archive: xz: (stdin): File format not recognized
    /usr/bin/tar: Child returned status 1
    /usr/bin/tar: Error is not recoverable: exiting now

    Command "/usr/bin/tar" could not handle archive: Unable to list files in the archive: gzip: stdin has more than one entry--rest ignored
    /usr/bin/tar: Child returned status 2
    /usr/bin/tar: Error is not recoverable: exiting now

    Command "/usr/bin/tar" could not handle archive: Unable to list files in the archive: /usr/bin/tar: This does not look like a tar archive
    /usr/bin/tar: Skipping to next header
    /usr/bin/tar: Exiting with failure status due to previous errors

    Command "/usr/bin/tar" could not handle archive: Unable to list files in the archive: tar (child): zstd: Cannot exec: No such file or directory
    tar (child): Error is not recoverable: exiting now
    /usr/bin/tar: Child returned status 2
    /usr/bin/tar: Error is not recoverable: exiting now

    Command "/usr/bin/tar" could not handle archive: Unable to list files in the archive: bzip2: (stdin) is not a bzip2 file.
    /usr/bin/tar: Child returned status 2
    /usr/bin/tar: Error is not recoverable: exiting now

    Unable to find required 'unzip' or 'unzip' binary in the path.

PLAY RECAP ********************************************************************************************************
localhost                  : ok=18   changed=0    unreachable=0    failed=1    skipped=11   rescued=0    ignored=1

I then installed unzip and the error was gone.

Ed

gdevenyi commented 5 months ago

Fixed in ec41463afc7f97bfbde69bce4faf49583ada3106