Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm trying to use debootstrap to create a debian32 system and compile the kernel there but I'm not capable off.

root@citsnmaiko-deb:~# debootstrap  --verbose --arch i386 squeeze /opt/chroots/debian32/
I: Retrieving Release
E: Failed getting release file

I'm behind a proxy but apt-get and wget works fine, I already tryied to set the http_proxy var but without success.

what else can I do ?

share|improve this question
You mention that apt-get works fine. Is the mirror you are using in your sources.list? Are you perhaps using ftp instead of http? – Zoredache Oct 19 '12 at 19:31

2 Answers 2

up vote 2 down vote accepted

You're using the right command. Your question appears to be just "what else can I do ?" (sic).

So here are a few reasons why this might happen.

  • Unreachability of from your machine
  • Unexplained error on

Can you:

  • resolve the name?
  • successfully make a tcp connection to it on port 80?
  • retreive that file?

Try using nc or curl to pull the file. Run tcpdump in another terminal and see what happens.

share|improve this answer
I changed the mirror and export my http_proxy. Now its working. Thx – MaikoID Oct 22 '12 at 18:06

Lets help someone with Google foo. Same error but different cause

root@vm-lucid:/tmp/ramfs# debootstrap lucid here
I: Retrieving Release
E: Failed getting release file

Typical debug step, proves network / proxy / mirror is okay... so now what?


Adding set -x to just_get in /usr/share/debootstrap/functions and logging via if ! just_get "$from" "$dest2" > /tmp/debootstrap_hidden_log 2>&1; then continue; fi reveals something interesting!

+ set -x
+ local from=
+ wget -q -O /tmp/ramfs/here/var/lib/apt/lists/partial/debootstrap.invalid_dists_lucid_Release
Can't be verbose and quiet at the same time.
Usage: wget [OPTION]... [URL]...
+ ret=1

Why would one get that error message???

SOLUTION: Remove verbose=on from wgetrc, that a user forgot in there years ago...

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.