diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index d90e8894e527d51a79a24fc2a57f4009ced7212b..fe0ec17d1cc38a116c824edcd6d1ab965d751334 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -128,10 +128,10 @@ jobs:
       - uses: actions/checkout@v2
 
       - name: apt-get update
-        run: apt-get update
+        run: sudo apt-get update
 
       - name: Install extra compiler
-        run: apt-get install -y ghc-${{ matrix.extra-ghc }}-dyn
+        run: sudo apt-get install -y ghc-${{ matrix.extra-ghc }}-dyn
 
       - uses: haskell/actions/setup@v1
         id: setup-haskell
@@ -159,4 +159,4 @@ jobs:
         run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v ${{ matrix.flags }} -s build
 
       - name: "Validate lib-suite-extras --extra-hc ghc-${{ matrix.extra-ghc }}"
-        run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v --lib-only -s lib-suite-extras --extra-hc /opt/ghc/${{ matrix.extra-ghc }}/bin/ghc-${{ matrix.extra-ghc }}
\ No newline at end of file
+        run: sh validate.sh -j 2 -w ghc-${{ matrix.ghc }} -v --lib-only -s lib-suite-extras --extra-hc /opt/ghc/${{ matrix.extra-ghc }}/bin/ghc-${{ matrix.extra-ghc }}