diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52a259ca015a7b4455fb793217db07130f492d8c..40040d5371c9bee4d3bcdd6d0a5ca5aba642decd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -63,6 +63,7 @@ lint-debian-jessie-build-script:
   stage: test
   image: debian:latest
   before_script:
+    - apt-get update
     - apt-get install -y shellcheck
   script:
     - shellcheck ./debian/jessie/setup.sh