Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I want to configure apt-get in my ubuntu 11.10 version by editing apt.conf file but not getting positive result.pls reply if anybody can...

share|improve this question

marked as duplicate by Eliah Kagan, vasa1, Chris Wilson, qbi, hhlp Feb 25 '13 at 14:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Share what you actually changed in the configuration. – gertvdijk Nov 30 '12 at 10:29

Placing a line like

Acquire::http::Proxy "http://proxy-address:8000/";

in a new file in for example /etc/apt/apt.conf.d/10-proxy should do the trick. Be sure to have set up HTTP mirrors in your sources.list if you want to connect to an HTTP proxy or just add another Acquire::ftp::Proxy line for FTP mirror/proxy. Also change address and port number accordingly.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.