Can't install Anaconda on Red Hat Linux

Tried to install Anaconda3-2023.09-0-Linux-x86_64.sh on Linux version 4.19.286-203.ELK.el7.x86_64 (mockbuild@fc5d9f45ee7f4235b8d172dc87097d0c) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Wed Jun 14 04:33:55 CDT 2023 on an Intel computer that resides in a rack a few thousand miles away from me.

The shell’s version is:

$ bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

That installation failed:

$ rm -rf ./anaconda3
$ bash Anaconda3-2023.09-0-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
WARNING: md5sum mismatch of tar archive
expected: d2bf41ff259832a949671f4f6cdf6dea
     **got: d41d8cd98f00b204e9800998ecf8427e  -**

I have write access to the target directory, and I am not root. Because mistakes happen, I moved on to try my luck with an earlier version of Anaconda’s shell archives; in fact, I tried three more. The results were curiously similar:

$ rm -rf ./anaconda3
$ bash Anaconda3-2023.07-2-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
WARNING: md5sum mismatch of tar archive
expected: 9260aa87bc9e0e89d1a4aea9a7f9c923
     **got: d41d8cd98f00b204e9800998ecf8427e  -**

Here’s the next one:

$ rm -rf ./anaconda3
$ bash Anaconda3-2023.07-1-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
WARNING: md5sum mismatch of tar archive
expected: b35af0fae8e8667609722e2c0d196f1d
     **got: d41d8cd98f00b204e9800998ecf8427e  -**

The last one follows below:

$ rm -rf ./anaconda3
$ bash Anaconda3-2023.03-1-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
WARNING: md5sum mismatch of tar archive
expected: 772d5aaa61bb6404dafd0ba963c11f22
     **got: d41d8cd98f00b204e9800998ecf8427e  -**

Those four failures are interesting. While the four expected checksums are different, the four got checksums are identical.

Has something gone awry with the build process?

I omitted full file checksums from my original post, and they are identical to the checksums on the archive page

$ openssl dgst -sha256 Anaconda3-2023.09-0-Linux-x86_64.sh
SHA2-256(Anaconda3-2023.09-0-Linux-x86_64.sh)= 6c8a4abb36fbb711dc055b7049a23bbfd61d356de9468b41c5140f8a11abd851

$ openssl dgst -sha256 Anaconda3-2023.07-2-Linux-x86_64.sh
SHA2-256(Anaconda3-2023.07-2-Linux-x86_64.sh)= 589fb34fe73bc303379abbceba50f3131254e85ce4e7cd819ba4276ba29cad16

$ openssl dgst -sha256 Anaconda3-2023.07-1-Linux-x86_64.sh
SHA2-256(Anaconda3-2023.07-1-Linux-x86_64.sh)= 111ce0a7f26e606863008a9519fd608b1493e483b6f487aea71d82b13fe0967e

$ openssl dgst -sha256 Anaconda3-2023.03-1-Linux-x86_64.sh
SHA2-256(Anaconda3-2023.03-1-Linux-x86_64.sh)= 95102d7c732411f1458a20bdf47e4c1b0b6c8a21a2edfe4052ca370aaae57bab

Looking for a successful installation of an older shell archive, I tried to install four more. First, here are their checksums, and they are the same as those that appear in the archive:

$ openssl dgst -sha256 Anaconda3-2022.10-Linux-x86_64.sh
SHA2-256(Anaconda3-2022.10-Linux-x86_64.sh)= e7ecbccbc197ebd7e1f211c59df2e37bc6959d081f2235d387e08c9026666acd

$ openssl dgst -sha256 Anaconda3-2021.11-Linux-x86_64.sh
SHA2-256(Anaconda3-2021.11-Linux-x86_64.sh)= fedf9e340039557f7b5e8a8a86affa9d299f5e9820144bd7b92ae9f7ee08ac60

$ openssl dgst -sha256 Anaconda3-2020.11-Linux-x86_64.sh
SHA2-256(Anaconda3-2020.11-Linux-x86_64.sh)= cf2ff493f11eaad5d09ce2b4feaa5ea90db5174303d5b3fe030e16d29aeef7de

$ openssl dgst -sha256 Anaconda3-2019.10-Linux-x86_64.sh
SHA2-256(Anaconda3-2019.10-Linux-x86_64.sh)= 46d762284d252e51cd58a8ca6c8adc9da2eadc82c342927b2f66ed011d1d8b5$

Same OS. Same bash version. The four, new shell archives’ failures are different from those in my first post, but they share the same kind of failure: From different source lines from each shell archive, they all look for file preconda.tar.bz2, and none of them can find it.

$ rm -rf ./anaconda3
$ bash Anaconda3-2022.10-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
Unpacking payload ...
Anaconda3-2022.10-Linux-x86_64.sh: line 412: /home/mine/anaconda3/preconda.tar.bz2: No such file or directory

$ rm -rf ./anaconda3
$ bash Anaconda3-2021.11-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
Unpacking payload ...
Anaconda3-2021.11-Linux-x86_64.sh: line 412: /home/mine/anaconda3/preconda.tar.bz2: No such file or directory

$ rm -rf ./anaconda3
$ bash Anaconda3-2020.11-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
Unpacking payload ...
Anaconda3-2020.11-Linux-x86_64.sh: line 417: /home/mine/anaconda3/preconda.tar.bz2: No such file or directory

$ rm -rf ./anaconda3
$ bash Anaconda3-2019.10-Linux-x86_64.sh -b
PREFIX=/home/mine/anaconda3
Unpacking payload ...
Anaconda3-2019.10-Linux-x86_64.sh: line 363: /home/mine/anaconda3/preconda.tar.bz2: No such file or directory

If you should have pearls of wisdom, please toss toss them my way.