diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9792e60279d32e6b4542499ce6fc044792d3cbd9..7056fca34571d7b81aa5137c3962c6ffd8738268 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@
   before_script:
     - apt-get update
     - apt-get install -y build-essential cpanminus git
-    - apt-get install -y libmysqlclient-dev mysql-client || apt-get install -y default-libmysqlclient-dev default-mysql-client
+    - apt-get install -y default-libmysqlclient-dev default-mysql-client
     - apt-get install -y libssl-dev sqlite3
     - git clone --branch=master --depth=1 https://github.com/Ensembl/ensembl-test.git
     - git clone --branch=master --depth=1 https://github.com/Ensembl/ensembl.git