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

Something on our company's network is causing some apt updates to fail during an unattended install. We recently discovered that we can fix the apt problem on a previously successful installation using the following options:

sudo apt-get update -o Acquire::http::No-Cache=true -o Acquire::http::Pipeline-Depth=0

Or by putting these options in /etc/apt/apt.conf.d/80http

Acquire::http::No-Cache true;
Acquire::http::Pipeline-Depth 0;

However, I still don't know how to modify a preseed.cfg file so that it will use these options for apt. Thanks in advance for your help.

share|improve this question

closed as too localized by James Mar 19 '12 at 18:48

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. I am flagging this for closure. Regards, – Ringtail Mar 19 '12 at 18:20

Browse other questions tagged or ask your own question.