From 92b63cd79ca188e4266fd4d6fb7a8f99264c8e13 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 4 Apr 2025 12:09:33 +0200 Subject: [PATCH] tasks: Run apt-get update before installing auth test deps Otherwise we might be trying to install a version that is no longer present in the repository, yielding a 404 error. --- tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks.py b/tasks.py index efdd8460e7..ab8a948952 100644 --- a/tasks.py +++ b/tasks.py @@ -265,6 +265,7 @@ def install_auth_test_deps_only(c, backend): extra=[] for b in backend: extra.extend(auth_backend_test_deps[b]) + c.sudo('apt-get update') c.sudo('DEBIAN_FRONTEND=noninteractive apt-get -y install ' + ' '.join(extra+auth_test_deps)) @task(help={'backend': 'Backend to install test deps for, e.g. gsqlite3; can be repeated'}, iterable=['backend'], optional=['backend']) -- 2.47.2