Open-source Languages & Tools for z/OS

 View Only

 noarch directory not found

Thomas Poff's profile image
Thomas Poff posted 03-30-2021 18:12
TPOFF:/rocket/new/bin: >conda install git
Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
Elapsed: 00:00.345067
CF-RAY: 63837615bbb6eba1-LAX

Hello,

Would like to check out your incarnation of git... all I need really.  So I went through the arduous task of installing miniconda.  Ugh.  Kind of a nightmare.
After getting it installed, I configured things as exactly as I could and got the following error... suggesting that maybe a URL was invalid?
Do I need to specify the Z/OS / OMVS architecture somewhere to get the web page to resolve properly?

Regards,
Thomas

-----

TPOFF:/rocket/new/bin: >conda install git
Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://anaconda.org/zoss-appdev/noarch/repodata.json>
Elapsed: 00:00.345067
CF-RAY: 63837615bbb6eba1-LAX

The remote server could not find the noarch directory for the
requested channel with url: https://anaconda.org/zoss-appdev

As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state.
Further configuration help can be found at <https://conda.io/docs/config.html>.
Alexander Klochkov's profile image
ROCKETEER Alexander Klochkov

Hi Thomas,

The address should be https://conda.anaconda.org/zoss-appdev/noarch/repodata.json
Can you post here output of the 'conda config --show-sources' command

Thanks,
Alexander

Thomas Poff's profile image
Thomas Poff

Fixed it!  The solution was:

Just remove 'channel_alias: https://anaconda.org' string from the .condarc file and try again your command.

Which Alexander Klochkov kindly supplied me with.

Regards, T