I'll be honest, this feels like a bug in Squid or apt itself. It's working great with IPv6 from other hosts. Interestingly, the problem host (which is also the squid-deb-proxy server) doesn't create any entries at all in access.log, presumably because of the failed connection.
I've tried from a number of addresses on this host. First, it was failing with the "invalid argument" error when trying to connect from fe80::blah. That address was on vnet0, so just for fun, I disabled that interface so avahi would grab a different address. Now it's pulled my real IPv6 address (starting in 2001:...), but now gives the error "failed to fetch <blah>. Unable to connect to 2001::9bfc:8000:". Now, that 2001::9bfc should be what others are using, so I'm stumped I've tried restarting squid to see if it'll make a difference, but nothing so far. Just so that I don't completely hijack this specific problem, it's not IPv6 specifically. It feels like some sort of problem with link-local addresses. This worked correctly for me last night on this machine, and still works just fine from other hosts on the network, just not from the server itself. Apt itself might be having some issues connecting to link-local this way. Interesting tid-bit: sysadmin@core:/etc/apt/apt.conf.d$ ping6 fe80::21b:78ff:fe8f:8c8e connect: Invalid argument sysadmin@core:/etc/apt/apt.conf.d$ ping6 2001::9bfc(2001::9bfc) 56 data bytes ^C --- 2001::9bfc ping statistics --- 14 packets transmitted, 0 received, 100% packet loss, time 13103ms sysadmin@core:/etc/apt/apt.conf.d$ ping6 2001::8c8e (anonymous address) PING 2001::8c8e(2001::8c8e) 56 data bytes ^C --- 2001::8c8e ping statistics --- 11 packets transmitted, 0 received, 100% packet loss, time 10000ms It looks like I'm having serious routing issues... The fe80:: answer seems awfully familiar though. It might be the machine? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1132249 Title: squid-deb-proxy-client cannot initiate connection - 22 invalid argument To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1132249/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs