can't apt-get update: Could not create a socket for 2001:8d8:580:400:6564:a62:0:2
Hi all,
Today I tried apt-get updating a debian lenny machine and this is what I got:
(more info below)
# apt-get update
Err http://ftp.es.debian.org lenny Release.gpg
Could not connect to ftp.es.debian.org:80 (82.194.78.250). - connect
(111 Connection refused)
Err http://volatile.debian.org lenny/volatile Release.gpg
Could not create a socket for 2001:610:1908:b000::148:13 (f=10 t=1
p=6) - socket (97 Address family not supported by protocol) [IP:
2001:610:1908:b000::148:13 80]
Err http://security.debian.org lenny/updates Release.gpg
Could not create a socket for 2001:8d8:580:400:6564:a62:0:2 (f=10
t=1 p=6) - socket (97 Address family not supported by protocol) [IP:
2001:8d8:580:400:6564:a62:0:2 80]
Ign http://security.debian.org lenny/updates Release
Ign http://volatile.debian.org lenny/volatile Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages
Ign http://volatile.debian.org lenny/volatile/main Packages
Err http://security.debian.org lenny/updates/main Packages
Could not create a socket for 2001:8d8:580:400:6564:a62:0:2 (f=10
t=1 p=6) - socket (97 Address family not supported by protocol) [IP:
2001:8d8:580:400:6564:a62:0:2 80]
Err http://volatile.debian.org lenny/volatile/main Packages
Could not create a socket for 2001:610:1908:b000::148:13 (f=10 t=1
p=6) - socket (97 Address family not supported by protocol) [IP:
2001:610:1908:b000::148:13 80]
Reading package lists... Done
W: Failed to fetch
http://ftp.es.debian.org/debian/dists/lenny/Release.gpg Could not
connect to ftp.es.debian.org:80 (82.194.78.250). - connect (111
Connection refused)
W: Failed to fetch
http://security.debian.org/dists/lenny/updates/Release.gpg Could not
create a socket for 2001:8d8:580:400:6564:a62:0:2 (f=10 t=1 p=6) -
socket (97 Address family not supported by protocol) [IP:
2001:8d8:580:400:6564:a62:0:2 80]
W: Failed to fetch
http://volatile.debian.org/debian-volatile/dists/lenny/volatile/Release.gpg
Could not create a socket for 2001:610:1908:b000::148:13 (f=10 t=1
p=6) - socket (97 Address family not supported by protocol) [IP:
2001:610:1908:b000::148:13 80]
W: Failed to fetch
http://security.debian.org/dists/lenny/updates/main/binary-i386/Packages
Could not create a socket for 2001:8d8:580:400:6564:a62:0:2 (f=10 t=1
p=6) - socket (97 Address family not supported by protocol) [IP:
2001:8d8:580:400:6564:a62:0:2 80]
W: Failed to fetch
http://volatile.debian.org/debian-volatile/dists/lenny/volatile/main/binary-i386/Packages
Could not create a socket for 2001:610:1908:b000::148:13 (f=10 t=1
p=6) - socket (97 Address family not supported by protocol) [IP:
2001:610:1908:b000::148:13 80]
W: Some index files failed to download, they have been ignored, or old
ones used instead.
W: You may want to run apt-get update to correct these problems
Are those ipv6 addresses or what (IP: 2001:610:1908:b000::148:13 80)?
It seems very strange since I dont have ipv6 driver loaded:
carbeto:~# lsmod | grep ipv6 --> gives no output
Also, no sign of ipv6 in my interfaces:
carbeto:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:55:d0:d5:08
inet addr:192.53.117.24 Bcast:192.53.117.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6063410 errors:0 dropped:0 overruns:0 frame:0
TX packets:8474925 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:532197429 (507.5 MiB) TX bytes:2988141460 (2.7 GiB)
Memory:fbfe0000-fc000000
uname -a:
Linux carbeto 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
carbeto:~# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
carbeto:~# cat /etc/debian_version
5.0.3
I have other machines with lenny in other offices and all apt-get
update just fine, I also tried copying a sources.list file from one of
the working ones to no avail.
Any idea why this is happening?
Cheers,
Fred.
"UNIX is very simple, it just needs a genius to understand its simplicity."
-- Dennis Ritchie, D.E.P.
Reply to: