diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11126a59a40b91e412dc7a212e9b970b2d60873c..716019bcf197f6863bf4bfb73fd70e2091f9b728 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@
 test:
   image: ubuntu
   script:
+    - apt update
     - apt install -y curl
     - curl -sL https://deb.nodesource.com/setup_8.x | bash -
     - apt update