- Use the sudo touch /etc/apt/apt.conf command to create the apt configuration file and then add this line to it and edit it with your proxy details. Then the apt-get command will work perfectly.
- Acquire::http::proxy "http://Myusername:Mypassword@proxy.det.nsw.edu.au:8080/";