diff --git a/3.New_server_deployment/4.APT_upgrade/0_setup.sh b/3.New_server_deployment/4.APT_upgrade/0_setup.sh
index d95b8317767117e9c8100103681c72309357ebca..1cd0bf41a402bcbed14ee743c4300c43129316d3 100755
--- a/3.New_server_deployment/4.APT_upgrade/0_setup.sh
+++ b/3.New_server_deployment/4.APT_upgrade/0_setup.sh
@@ -5,7 +5,7 @@ DEBIAN_FRONTEND=noninteractive
 export DEBIAN_FRONTEND
 
 apt-get update
-apt-get install -y apt-transport-https
+apt-get install -y apt-transport-https curl
 
 # move 50unattended-upgrades conf if any
 if [ -f /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist ]; then
@@ -57,7 +57,7 @@ systemctl unmask nginx || true
 # APT panel
 if ( ! test -z ${SKYREACH_API_KEY} ); then
 	echo "Adding skyreach.list to APT sources."
-	wget -q "https://${SKYREACH_HOST}/media/public.gpg" -O- | sudo apt-key add -
+	curl -s "https://${SKYREACH_HOST}/media/public.gpg" | sudo apt-key add -
 	echo "deb https://${SKYREACH_HOST} packaging/apt/${SKYREACH_API_KEY}/" > /etc/apt/sources.list.d/skyreach.list
 fi