Wednesday, May 8, 2013

Updating Ubuntu (11.10) Package via Proxy

Problem :  apt-get , Update Manager not able to download packages behind college/comapny proxy server.

Note : Sometimes there may be connection failure because of busy servers. So Please be patient during new Ubuntu release

Solution :
 
1) Open the Terminal and type the following command
     sudo gedit /etc/apt/apt.conf.d/02proxy

Note : 01proxy file is not present earlier.

2) Type the following line(in red) in the file:
     Acquire::http::Proxy “http://yourusername:yourpassword@yourproxy:yourport″;
    

Acquire::http::Proxy "http://foss:3189";
   


3) Save the file and your problem is solved.



Credit: naveenubuntu

No comments:

Post a Comment