diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92347cdd9dbf1399af01b7c8cc3b9b0d8188fd08..7cdd4bb627b553d6b334c1096a4bdc58e23cd2a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,14 +11,13 @@ build-ws:
   script:
     - apt-get update
     - apt-get install -y ros-melodic-libfranka python-catkin-tools libeigen3-dev 
-    - apt-get install build-essential
-    - apt-get install gcc
-    - apt-get install make
-    - apt-get install cmake
-    - apt-get install cmake-curses-gui
-    - apt-get install libssl-dev
-    - apt-get install libcppunit-dev
-    - Y
+    - apt-get install -y build-essential
+    - apt-get install -y gcc
+    - apt-get install -y make
+    - apt-get install -y cmake
+    - apt-get install -y cmake-curses-gui
+    - apt-get install -ylibssl-dev
+    - apt-get install -y libcppunit-dev
     - echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
     - source ~/.bashrc
     - rosdep install -y --from-paths .