Noarch repodata.json is empty for proxy channels
See original GitHub issueIn our quetz server, we proxy conda-forge
into a channel of the same name:
{
"name": "conda-forge",
"description": null,
"private": true,
"size_limit": null,
"ttl": 36000,
"mirror_channel_url": "https://conda.anaconda.org/conda-forge",
"mirror_mode": "proxy",
"members_count": 1,
"packages_count": 0
},
Installation often fails because certain packages cannot be found. We narrowed the issue down to the noarch repodata.json
being empty. Navigating to /get/conda-forge/noarch/repodata.json
yields:
{
"info": {
"subdir": "noarch"
},
"packages": {},
"packages.conda": {},
"repodata_version": 1
}
This problem only occurs for the noarch platform. Also, in our package backend (GCS) we have a cached version of the repodata.json
, which is not empty (it’s 55MB large).
Any idea what might be causing this?
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Conda search cannot find noarch/repodata.json in channel
Hi, I intend to install the intel's distribution of python (intelpython3_full). But it seems that my conda cannot recognize the package in ...
Read more >conda install packages error: Collecting package metadata ...
Disable your system proxy. It will work properly if you have installed anaconda correctly and set the environmental variables correctly.
Read more >Channels and generating an index - Conda
Repodata.json contains an index of the packages in a subdir. Each subdir will have it's own repodata. Channels have packages as tarballs under...
Read more >other.xml.gz - Oracle Linux Yum Server
1206350 - Add API to Satellite for Proxy to check client token validity ... it so that repodata will be scheduled for regeneration...
Read more >Advanced Topics - SUSE Documentation
Figure 2.1: Proxy Activation Key #. From the Child Channels listing select the SUSE Manager 3.2 Proxy child channel with the matching update ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, so the bug goes as follows:
noarch/repodata.json
is what marks a channel as “existing”noarch/repodata.json
files (including the.gz
/.bz2
ones). We should not do that.repodata.json.gz
is a quetz-specific extension (and a bit of a workaround for OVH because they don’t properly support setting theContent-Encoding
header for a given file)thank you!