diff --git a/debian-based/install.sh b/debian-based/install.sh
index 1c2a8459513af43cb37d2ffb869b81606ddabe02..5f72d5482fa45589c7c99ce8f543afa567158e2b 100755
--- a/debian-based/install.sh
+++ b/debian-based/install.sh
@@ -21,8 +21,8 @@ function ruby {
 }
 
 function update {
-    sudo apt-get update
-    sudo apt-get upgrade -y
+    $(echo "$ROOT apt-get update")
+    $(echo "$ROOT apt-get upgrade -y")
 }
 
 #Instala todos os pacotes no arquivo packages