diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d4e0c001b5c3b459ed0702fe22c8e9ef96a615d..1288041134d3dce4e1b5e2170a12f92f8ec8aa6d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,7 @@ stages:
 build_buster:
   stage: build_buster
   script:
+    - apt update
     - apt install -y python3-stdeb python3-all python-all
     - ./build.sh
     - mkdir -p build/