Hi,
It is not intended for you to enter "sudo apt-get update" into the cloud shell window. When you copy/paste Task 1 Step 2 script into cloud shell the script that gets executed in the VM runs this command.
Please go back to the Exercise, Activate a new sandbox, copy/paste and execute the two commands shown in Task 1. Once that is complete, you need to complete the "Configure network access" Exercise in Unit 9 in less than an hour (before the sandbox expires).
Please click Accept Answer if the above was useful. If something is unclear, please add a comment.
Thanks.
-TP