How can I update Ubuntu 11.04 from behind a university proxy server?

dan May 9, 2011
Pinterest Stumbleupon Whatsapp
Ads by Google

My installation of Ubuntu 11.04 is complete, but I can’t update it nor can I install new applications or any other thing because I live in a university, which has a proxy server. We have to use the proxy address to access the internet in the university wireless network.

I have tried this
http://antoniusvito.wordpress.com/2009/03/05/apt-get-behind-proxy-on-ubuntu/
and
http://www.ubuntugeek.com/how-to-configure-ubuntu-desktop-to-use-your-proxy-server.html.

But there is no success yet. I can neither update the installation, nor install the restricted codecs/extras or new applications. :(

I am on a HP Probook 4321s and running this Ubuntu 11.04 (64-bits) alongside another Windows 7 Professional installation (32-bit) installation.

  1. Timothy Lim
    February 26, 2012 at 5:40 am

    I'm having a similar issue. Ended up using Synaptic Package Manager as it has a manual proxy configuration (including authentication). Currently downloading updates as I type this

    • Tina
      February 26, 2012 at 6:00 pm

      Timothy, did the updates solve your issue? If not, I recommend asking a new question.

  2. Neeraj Nkrssb Kumar
    September 28, 2011 at 6:22 am

    open synaptic package manager in system/administration go to settings and then choose preferences...go to network and then set the proxy..it would definetely work....my updates started working...

    • Anuragingole1112
      December 7, 2011 at 5:35 pm

      thanks

  3. jesdpx
    August 9, 2011 at 10:23 pm

    actually if you right click on the on the on/off icon in the upper left corner you can get to system settings where you can set the proxy as needed.

  4. Milovikasse
    July 9, 2011 at 10:33 am

    just run the following command in terminal windo

    export http_proxy=http://username:password@proxyserverIP:disqus :port

    sudo apt-get update

    I think this can help you to resolve the issue.

  5. jhpot
    May 12, 2011 at 2:41 pm

    Have you tried setting a system-wide proxy? That would allow all of your programs to work, including your updates. You'll find a Network Proxy tool if you type "Proxy" in the main menu.

    And man, your school's kind of creepy...routing all of your Internet access through a proxy. They're spying on you!

  6. Gustavo Ibarguengoytia
    May 10, 2011 at 5:42 pm

    You can try manually downloading the tar files you want to install and then use commands from the terminal to install them. This will be trickier since some files are very hard to find.

    • jhpot
      May 12, 2011 at 2:38 pm

      Not a great idea; Ubuntu updates too quickly, and manually installing stuff will leave you without Ubuntu-specific patches.

Ads by Google