[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot initiate the connection to ftp.debian.org:80



On 21 Mar 09:52, liyq wrote:
> Hi,all
> 
>  What error is happened when I apt-get install the package?

Looks to me that you've got ipv6 enabled in the kernel, you're getting
AAAA records back for ftp.debian.org, and you haven't got a working
(global) ipv6 setup.

Either disable ipv6 entirely, or get DNS to prefer giving A records
rather than AAAA.

I'm not sure how you configure to do v4 before v6 though.

Thanks,
Brett.

> root@localhost:/etc/apt# apt-get update
> Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27] squeeze Release.gpg
> Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27]/ squeeze/main Translation-en
> Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27]/ squeeze/main Translation-en_HK
> Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27] squeeze Release
> Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27] squeeze/main i386 Packages/DiffIndex
> Get:1 http://security.debian.org squeeze/updates Release.gpg [835 B]           
> Ign http://security.debian.org/ squeeze/updates/main Translation-en            
> Ign http://security.debian.org/ squeeze/updates/main Translation-en_HK
> Get:2 http://security.debian.org squeeze/updates Release [38.4 kB]
> Get:3 http://security.debian.org squeeze/updates/main Sources [16.2 kB]        
> Get:4 http://security.debian.org squeeze/updates/main i386 Packages [57.6 kB]  
> Err http://ftp.debian.org stable Release.gpg                                   
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org/debian/ stable/contrib Translation-en                
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org/debian/ stable/contrib Translation-en_HK             
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org/debian/ stable/main Translation-en                   
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org/debian/ stable/main Translation-en_HK                
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org/debian/ stable/non-free Translation-en               
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org/debian/ stable/non-free Translation-en_HK            
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Ign http://ftp.debian.org stable Release                                       
> Ign http://ftp.debian.org stable/main Sources                                  
> Ign http://ftp.debian.org stable/contrib Sources                               
> Ign http://ftp.debian.org stable/non-free Sources                              
> Ign http://ftp.debian.org stable/main i386 Packages                            
> Ign http://ftp.debian.org stable/contrib i386 Packages                         
> Ign http://ftp.debian.org stable/non-free i386 Packages                        
> Err http://ftp.debian.org stable/main Sources                                  
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org stable/contrib Sources                               
>   Cannot initiate the connection to ftp.debian.org:80 (2001:610:1908:a000::149:226). - connect (101: Network is unreachable) [IP: 2001:610:1908:a000::149:226 80]
> Err http://ftp.debian.org stable/non-free Sources                              
> 
> 2011-03-21 
> 
> 
> 
> liyq 

-- 
Brett Parker                     http://www.sommitrealweird.co.uk/
PGP Fingerprint 1A9E C066 EDEE 6746 36CB  BD7F 479E C24F 95C7 1D61


Reply to: