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

i'm using approx as a apt proxy in our network. It's still working. Now I try to install 12.04 using a preseed file. This ist the section for the mirror:

d-i     mirror/country  string  manual
d-i     mirror/protocol string  http
d-i     mirror/http/countries   string  manual
d-i     mirror/http/proxy       string 
d-i     mirror/http/hostname    string tjener:9999
d-i     mirror/http/directory   string /ubuntu
d-i     mirror/suite            string precise
d-i     mirror/udeb/suite       string precise
d-i     mirror/udeb/components  multiselect main, restricted

Where tjener is the server. But it's not working. During installation is used. After installation in the source.list is used. If i change to tjener:9999 approx is used, so it's working.

The preseed settings work for 10.04 but not for 12.04. Can anybody help me.

Thank, you

share|improve this question

Should you not add the proxy URL after d-i mirror/http/proxy string, that is if the proxy is need to access the internal mirror

FYI the exact config I use is as follows, the installation clients have no internet access but can reach the mirror:

d-i mirror/country string manual
d-i mirror/http/hostname string
d-i mirror/http/directory string /rep
d-i mirror/http/proxy string
d-i mirror/http/mirror select

Change and /rep for your site...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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