diff --git a/contrib/actions/install-dependencies.sh b/contrib/actions/install-dependencies.sh
index 0014bce0e02d81d50d2f5e2890201fc5f45642d0..3aebc831262c4d7577d78554e5f5a4023d56d30d 100755
--- a/contrib/actions/install-dependencies.sh
+++ b/contrib/actions/install-dependencies.sh
@@ -1,5 +1,6 @@
 #!/bin/bash
 sudo cp contrib/actions/sources.list /etc/apt/sources.list
+sudo rm -rf /etc/apt/sources.list.d
 sudo apt update
 sudo apt install git subversion build-essential python gawk unzip libncurses5-dev zlib1g-dev libssl-dev wget time || exit 1
 sudo apt clean