Channels overrides not working #588
Replies: 2 comments 1 reply
-
Does the behavior change if you export |
Beta Was this translation helpful? Give feedback.
-
And just tagging onto this as i had the exact same problem trying to make this work airgap. It seems like if you define channels and use strict you can steer traffic to the internal mirror, but repodata fetch seems to be early enough where it happens even if it's not the top channel. I sort of get that because the solve is across channels, but feels like there is something we could do to conda to have it stick to a specific channel and only that channel even for repodata. I originally thought I also tried to move the existing installed packages, but you start dealing with elevated rights if it's installed machine context and it feeling incredibly kludgey. I did have some success with bypassing the repodata EOFs by using both the I feel like the answer for which combination is sitting right in front of me, but I can't figure out a bootstrap that doesn't require some internet access. Forking the bootstrap and hard coding in our mirror feels like the nuclear option. |
Beta Was this translation helpful? Give feedback.
-
Hello. I work for an organization who hosts a private package repository on Artifactory. I am having issues attempting to override the default conda-forge channel. In the past with Miniconda, we've simply been able to do the following:
Which has always successfully overwritten any anacanda repos in the channels and allowed us to pull packages from from our private Artifactory repository.
Here are all commands I'm running and the outcomes (Windows 10):
First try
Result:
Looks standard.. Moving on..
Result:
Makes sense after doing
conda config --show channels
which outputs..Okay so remove
conda-forge
instead..No errors. Great!
😤
I then figure out there is a system flag. Let's try that..
No errors..
Great!
Conda info just to be safe..
Nice!
Update Conda..
Okay that's definitely not right. Even through there is an SSLError, that is expected as I am on organization vpn and fetching outside repos will result in that error. The problem here is that it is still trying to fetch from conda-forge, even though it's nowhere to be found in my channels. So what's the deal here? I would prefer not to have to modify
.condarc
file, as this configuration has to be done completely inside a.bat
script.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions