diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9473205cef39970cfbf01f0e14422ea255d4b02..5b6109aa526cb6dc6b68d5ae3ab41951627fde58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,8 +17,6 @@ check_filenames:
 
 make_pdf:
   script:
-    - tlmgr repository remove main
-    - tlmgr repository add https://mirror.ctan.org/systems/texlive/tlnet main
     - tlmgr update --self
     - tlmgr update --all
     # Please try to keep this list short and document the purpose of each package