How To: Apt Configuration Behind Proxy on eeeXubuntu

You may sometimes notice that your installation just hangs when it reached a certain percent during installation. The reason is probably you’re behind a proxy and it does not allow you to access the repository you are supposed to connect to.

The solution is simple. Edit your apt.conf file under /etc/apt and you’re good to go. Just follow the following steps.

  1. open Terminal
  2. sudo mousepad /etc/apt/apt.conf
  3. Add the following lines:
    Acquire::http::Proxy “your.proxy.com:port”;

Note: This setting works just fine on my setup.

Related posts:

  1. Ubuntu Eee Update: Screen Resolution problem, Resolved.
  2. Easiest way to change File Permission in eeeXubuntu
  3. Installing eeeXubuntu – step by step guide
  4. Enabling the Camera on eeeXubuntu
  5. Ubuntu Eee: Screen and Graphics, the root of all evil.

Last updated: April 24, 2008 |

More on the About page. See all posts by .

One Response to “ How To: Apt Configuration Behind Proxy on eeeXubuntu ”

  1. Stefan Schreier said:

    Aug 08, 09 at 7:01 am

    I have ubuntu on a EeePC so this topic seems relevant. My apt.conf file, which I did not create or edit, is telling apt to acquire the internal network address of my gateway. When I try apt-get it invariably tells me “connection refused”. I just wonder, shouldn’t it be the external IP address of my gateway, or does it already know this? I did try to create a hole in the firewall for apt-get to get through, but it didn’t work. I wonder what I should do to fix this.


Leave a Reply