Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can't apt-get update: Could not create a socket for 2001:8d8:580:400:6564:a62:0:2

83 views
Skip to first unread message

feralert

unread,
Dec 1, 2011, 1:50:02 PM12/1/11
to
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.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAP4bfpxuiL_rtb=Qzh2gnx39cQ9hBi26NGGHgvG08NA6H=B3...@mail.gmail.com

Brian

unread,
Dec 1, 2011, 3:00:01 PM12/1/11
to
On Thu 01 Dec 2011 at 19:32:24 +0100, feralert wrote:

> 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)

Seems clear enough. You're not going anywhere.

[Snip]

> 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

Mine. Also on Lenny.

eth0 Link encap:Ethernet HWaddr 00:11:2f:f6:41:c3
inet addr:192.168.7.20 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::211:2fff:fef6:41c3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5377334 errors:0 dropped:0 overruns:0 frame:0
TX packets:3428088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:399530548 (381.0 MiB) TX bytes:322687720 (307.7 MiB)
Interrupt:17

No ipv6 here.

[Another snip]

> 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?

If it has worked before but is not working now leave it for a day or so
and try again.

What is is your /etc/hosts?


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20111201193305.GE3655@desktop

Registros Web

unread,
Dec 5, 2011, 10:50:01 AM12/5/11
to
Thanks Brian,

This has actually nothing to do with ipv6, but with iptables blocking
apt outgoing access. I didnt notice this at first because I hadnt set
this machine up in the first place and i was able to ping internet
addresses as well as the debian mirrors.

Thanks for helping out.

Cheers!
Fred.




“Free software” is a matter of liberty, not price. To understand the
concept, you should think of “free” as in “free speech”, not as in
“free beer”.

Free software is a matter of the users' freedom to run, copy,
distribute, study, change and improve the software.
Archive: http://lists.debian.org/CAP4bfpyqN+O+2DRaGY2m9qPy...@mail.gmail.com
0 new messages