This works when first install a package. bug the redirected url (https://internal/conda-mirror/...) is written into the repodata_record.json in the extracted folder. This cause the warning of invalid url on the second time to install in another environment, and invalid the extracted cache.
Can we write the original url before redirection into repodata_record.json?
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
redirect, 301
Latest version of Mamba
Tried in Conda?
I didn't try
Describe your issue
when setting channel_alias to a gateway url, such as https://corp/conda which will redirect (301,302) the url to the real internal mirror. e.g., GET https://corp/conda/defaults --(301)--> https://internal/conda-mirror/conda-defaults
This works when first install a package. bug the redirected url (https://internal/conda-mirror/...) is written into the repodata_record.json in the extracted folder. This cause the warning of
invalid url
on the second time to install in another environment, and invalid the extracted cache.Can we write the original url before redirection into repodata_record.json?
mamba info / micromamba info
No response
Logs
No response
environment.yml
No response
~/.condarc
No response