From d381716fa2aec23c102d55e5bda126c5ab976792 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Fri, 6 Aug 2021 10:38:44 +0200
Subject: [PATCH] [bootstrap] conda-clean before attempting to do anythingelse

---
 bob/devtools/bootstrap.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py
index e4180143..979766d4 100644
--- a/bob/devtools/bootstrap.py
+++ b/bob/devtools/bootstrap.py
@@ -504,6 +504,10 @@ if __name__ == "__main__":
     if args.verbose >= 3:
         conda_verbosity = ["-vv"]
 
+    # clean all caches because we may have changed
+    # the URL address of channels
+    run_cmdline([conda_bin, "clean", "--all"] + conda_verbosity)
+
     # print conda information for debugging purposes
     run_cmdline([conda_bin, "info"] + conda_verbosity)
 
-- 
GitLab