Take the 2-minute tour ×
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/ http://ftp.debian.org/debian/
I: Retrieving Release
E: Failed getting release file http://ftp.debian.org/debian/dists/squeeze/Release
root@citsnmaiko-deb:~# 

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 ftp.debian.org the mirror you are using in your sources.list? Are you perhaps using ftp instead of http? –  Zoredache Oct 19 '12 at 19:31
add comment

1 Answer

up vote 1 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 ftp.debian.org from your machine
  • Unexplained error on ftp.debian.org

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
add comment

Your Answer

 
discard

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.