How to update ubuntu 12.04 through squid proxy server at my university?

view full story

http://askubuntu.com – I wish to update the local package index with the latest changes made in repositories and am using following command : sudo apt-get update On executing this command I get several error messages such as one below : W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/b... 407 Proxy Authentication Required What i did to in order to try resolving this issue is the following : Open terminal and the file /etc/bash.bashrsc sudo gedit /etc/bash.bashrc and add at the bottom of the file these 2 lines : export http_proxy=http://user (HowTos)