Skip to main content
New Participant
Jun 2, 2021 12:11 PM UTC
Question

Error running miniconda installation "run" file

Hello, all.
I need to install 'bash' and 'make' here on my z/OS 2.4 USS system. I have downloaded the files:
appdev_manifest_1.1.1.txt
miniconda-zos-1.2.1-2020-12-23.run
from the Rocker download page.
However when I attempt to run it, I get the following errors:
IBMUSER:/u/ibmuser: >./miniconda-zos-1.2.1-2020-12-23.run
./miniconda-zos-1.2.1-2020-12-23.run: line 1: syntax error near unexpected token `)'
./miniconda-zos-1.2.1-2020-12-23.run: line 1: `���QŚ�R==�|���ۚ�|��|B��iD��|�D��|GS�D�|�RS�D|�D�CS�H���S�S�H|�BB��CS�H|��|�RDS�|GS�D|=�|��H�|��|�RD|�D��|�S��|QD|�D�C|S�|��SHS���|D�B�CS�H=D����
�|�)v�r���u���u'

If it makes any difference, the z/OS 2.4 system here is the ADCD one built and distributed by IBM. It is running on IBM's zPDT emulator.
Many thanks in advance.
DJ

    5 replies

    Tatiana Balaburkina
    Rocketeer
    Jun 2, 2021 12:20 PM UTC
    Hello, all.
    I need to install 'bash' and 'make' here on my z/OS 2.4 USS system. I have downloaded the files:
    appdev_manifest_1.1.1.txt
    miniconda-zos-1.2.1-2020-12-23.run
    from the Rocker download page.
    However when I attempt to run it, I get the following errors:
    IBMUSER:/u/ibmuser: >./miniconda-zos-1.2.1-2020-12-23.run
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: syntax error near unexpected token `)'
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: `���QŚ�R==�|���ۚ�|��|B��iD��|�D��|GS�D�|�RS�D|�D�CS�H���S�S�H|�BB��CS�H|��|�RDS�|GS�D|=�|��H�|��|�RD|�D��|�S��|QD|�D�C|S�|��SHS���|D�B�CS�H=D����
    �|�)v�r���u���u'

    If it makes any difference, the z/OS 2.4 system here is the ADCD one built and distributed by IBM. It is running on IBM's zPDT emulator.
    Many thanks in advance.
    DJ
    Hi Dave,

    Can you show the output of the following commands:
    ls -T miniconda-zos-1.2.1-2020-12-23.ru
    od -h -N 20 miniconda-zos-1.2.1-2020-12-23.ru
    New Participant
    Jun 2, 2021 12:40 PM UTC
    Hello, all.
    I need to install 'bash' and 'make' here on my z/OS 2.4 USS system. I have downloaded the files:
    appdev_manifest_1.1.1.txt
    miniconda-zos-1.2.1-2020-12-23.run
    from the Rocker download page.
    However when I attempt to run it, I get the following errors:
    IBMUSER:/u/ibmuser: >./miniconda-zos-1.2.1-2020-12-23.run
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: syntax error near unexpected token `)'
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: `���QŚ�R==�|���ۚ�|��|B��iD��|�D��|GS�D�|�RS�D|�D�CS�H���S�S�H|�BB��CS�H|��|�RDS�|GS�D|=�|��H�|��|�RD|�D��|�S��|QD|�D�C|S�|��SHS���|D�B�CS�H=D����
    �|�)v�r���u���u'

    If it makes any difference, the z/OS 2.4 system here is the ADCD one built and distributed by IBM. It is running on IBM's zPDT emulator.
    Many thanks in advance.
    DJ
    Hi, Tatiana.
    Here is the output you requested:
    IBMUSER:/u/ibmuser: >ls -T  miniconda-zos-1.2.1-2020-12-23.run
    m IBM-1047    T=off miniconda-zos-1.2.1-2020-12-23.run
    IBMUSER:/u/ibmuser: >od -h -N 20  miniconda-zos-1.2.1-2020-12-23.run
    0000000000    C0  E9  81  51  53  CD  81  CE  52  3D  3D  C0  7C  DC  CB  CB
    0000000020    DB  9A  CE  7C
    0000000024

    Many thanks.
    DJ
    New Participant
    Jun 2, 2021 12:51 PM UTC
    Hello, all.
    I need to install 'bash' and 'make' here on my z/OS 2.4 USS system. I have downloaded the files:
    appdev_manifest_1.1.1.txt
    miniconda-zos-1.2.1-2020-12-23.run
    from the Rocker download page.
    However when I attempt to run it, I get the following errors:
    IBMUSER:/u/ibmuser: >./miniconda-zos-1.2.1-2020-12-23.run
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: syntax error near unexpected token `)'
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: `���QŚ�R==�|���ۚ�|��|B��iD��|�D��|GS�D�|�RS�D|�D�CS�H���S�S�H|�BB��CS�H|��|�RDS�|GS�D|=�|��H�|��|�RD|�D��|�S��|QD|�D�C|S�|��SHS���|D�B�CS�H=D����
    �|�)v�r���u���u'

    If it makes any difference, the z/OS 2.4 system here is the ADCD one built and distributed by IBM. It is running on IBM's zPDT emulator.
    Many thanks in advance.
    DJ
    Just a bit more details...
    I downloaded the files from the Rocket download site, using the Firefox browser to my Linux desktop (openSuSE Tumbleweed). I then uploaded it from here to the z/OS USS via ftp, using binary mode. No EBCDIC <-> ASCII translation was done.
    DJ
    Tatiana Balaburkina
    Rocketeer
    Jun 2, 2021 1:09 PM UTC
    Hello, all.
    I need to install 'bash' and 'make' here on my z/OS 2.4 USS system. I have downloaded the files:
    appdev_manifest_1.1.1.txt
    miniconda-zos-1.2.1-2020-12-23.run
    from the Rocker download page.
    However when I attempt to run it, I get the following errors:
    IBMUSER:/u/ibmuser: >./miniconda-zos-1.2.1-2020-12-23.run
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: syntax error near unexpected token `)'
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: `���QŚ�R==�|���ۚ�|��|B��iD��|�D��|GS�D�|�RS�D|�D�CS�H���S�S�H|�BB��CS�H|��|�RDS�|GS�D|=�|��H�|��|�RD|�D��|�S��|QD|�D�C|S�|��SHS���|D�B�CS�H=D����
    �|�)v�r���u���u'

    If it makes any difference, the z/OS 2.4 system here is the ADCD one built and distributed by IBM. It is running on IBM's zPDT emulator.
    Many thanks in advance.
    DJ
    Dave,
    There was a conversion from ASCII to EBCDIC, which usually happens when the file was transferred in text mode.
    Now you need either to transfer the file in binary mode again or to convert it back to original state:
    mv miniconda-zos-1.2.1-2020-12-23.run miniconda.run
    iconv -f 1047 -t 819 miniconda.run > miniconda-zos-1.2.1-2020-12-23.run
    So the first bytes should be "7B 5A 61" instead of "C0  E9  81"
    New Participant
    Jun 2, 2021 3:28 PM UTC
    Hello, all.
    I need to install 'bash' and 'make' here on my z/OS 2.4 USS system. I have downloaded the files:
    appdev_manifest_1.1.1.txt
    miniconda-zos-1.2.1-2020-12-23.run
    from the Rocker download page.
    However when I attempt to run it, I get the following errors:
    IBMUSER:/u/ibmuser: >./miniconda-zos-1.2.1-2020-12-23.run
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: syntax error near unexpected token `)'
    ./miniconda-zos-1.2.1-2020-12-23.run: line 1: `���QŚ�R==�|���ۚ�|��|B��iD��|�D��|GS�D�|�RS�D|�D�CS�H���S�S�H|�BB��CS�H|��|�RDS�|GS�D|=�|��H�|��|�RD|�D��|�S��|QD|�D�C|S�|��SHS���|D�B�CS�H=D����
    �|�)v�r���u���u'

    If it makes any difference, the z/OS 2.4 system here is the ADCD one built and distributed by IBM. It is running on IBM's zPDT emulator.
    Many thanks in advance.
    DJ
    Thank you very much, that fixed it!
    DJ