conda activate base # or just conda deactivate
conda update conda-build
(Or simply conda update -n base -c defaults conda-build
)
conda list --revisions # find number, x, before the update
conda install --revision x
rm -rf ~/.conda
conda clean --all
conda update conda