From fef6b5f9609fb6e94361bd80f2e4b2402380be9a Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Fri, 6 Aug 2021 10:54:19 +0200 Subject: [PATCH] [bootstrap] conda-update before attempting to do anythingelse --- bob/devtools/bootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py index 979766d4..c831b79f 100644 --- a/bob/devtools/bootstrap.py +++ b/bob/devtools/bootstrap.py @@ -504,9 +504,10 @@ if __name__ == "__main__": if args.verbose >= 3: conda_verbosity = ["-vv"] - # clean all caches because we may have changed + # clean all caches and update, because we may have changed # the URL address of channels run_cmdline([conda_bin, "clean", "--all"] + conda_verbosity) + run_cmdline([conda_bin, "update", "--all"] + conda_verbosity) # print conda information for debugging purposes run_cmdline([conda_bin, "info"] + conda_verbosity) -- GitLab