Because there is no sudo in the commands.

It should look like
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update

and then it will...