Can't update conda or install new token

We have an Anaconda Nucleus Enterprise License and I’m trying to update conda, anaconda, etc… I tried to use these commands:

  • conda update conda
  • conda update anaconda
  • conda install conda-token -n root

They all gave the same error message:

UnavailableInvalidChannel: HTTP 403 FORBIDDEN for channel repo/main https://repo.anaconda.cloud/repo/main

The channel is not accessible or is invalid.

No one here seems to know what is happening… the local admin rejected, the reissued a token… that didn’t fix it… same error messages.

Any ideas what is happening or how to fix this?

Based on the error message you are seeing, it seems like you likely do not have the correct conda configuration setup - and conda is not using your token to try and access the channel. Have you tried using your token through Anaconda Navigator? Are you able to access the repo.anaconda.cloud channels from Navigator?
Here is a link to the relevant section of the docs (see Step 4): Quickstart guide — Anaconda documentation

I have never used the token through Anaconda Navigator… I do nearly all my work on the command line and have successfully installed my token, updated conda, etc. this way before on the command line… I’m not sure what has changed to make it so that I cannot access the repos.

With that being said:

If I open the Anaconda Cloud website and look at the Token tab, the Status says valid until Nov 29, 2025.

Also on Anaconda Cloud website, under Channels, there are 3 (main, r, msys2).

For each of those, I can click on the “3 dots” to the right of each and “View Channel”… I see the items in the Channels.

I do not have enough information about your local setup and configuration. Based on what you are describing on the cloud side, that token should be working for you if your configuration is setup correctly. I suggested trying with Navigator as another path to try your token to see if it is also broken when Navigator attempts to configure conda with your token. If you don’t want to use Navigator to help debug the issue, I’d recommend reviewing your .condarc file.