Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

How should one configure the cache of debootstrap globally? I haven't found its configuration file, I have to specify the local mirror all the time.

share|improve this question
up vote 5 down vote accepted

debootstrap does not have a config file. You can set the environment variable http_proxy for debootstrap to use a http proxy server for caching.

http_proxy=http://proxy.host:port/ debootstrap …

You can also use something like approx to set-up an caching server for debian packages.

If you want to use debootstrap with a config file have a look at grml-debootstrap it is part of debian nowadays. It allows you (besides some other features) to have a global configuration file for all your grml-debootstrap calls.

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.