diff --git a/metadata/net.gcompris.full.yml b/metadata/net.gcompris.full.yml
index 7d7512e53d..37c53b2888 100644
--- a/metadata/net.gcompris.full.yml
+++ b/metadata/net.gcompris.full.yml
@@ -21,7 +21,7 @@ Builds:
     commit: V0.96
     submodules: true
     sudo:
-      - apt-get update
+      - apt-get update || apt-get update
       - apt-get install --yes extra-cmake-modules libncurses5
     output: android-build/android/bin/GCompris-Android-release-armeabi-v7a-dl-$$VERSION$$.apk
     prebuild: mkdir qt/ android-build/