removed sudo -i
added sudo for apt-get
notes