Mark Hindley <m...@hindley.org.uk> writes: > On Sat, Feb 12, 2011 at 12:02:19AM +0100, Leopold BAILLY wrote: >> Mark Hindley <m...@hindley.org.uk> writes: >> >> > On Fri, Feb 11, 2011 at 11:09:08PM +0100, Leopold BAILLY wrote: >> >> Package: apt-cacher >> >> Version: 1.6.12 >> >> Severity: normal >> >> >> >> After my latest update, i was no more able to connect to apt-cacher. >> > >> > What was the error message? Are you using deamon mode or inetd mode? Can >> > you post the /etc/apt-cacher/apt-cacher.conf >> >> As I said, I was just unable to connect to the apt-cacher daemon. >> >> leo@stellie:~$ sudo aptitude install libio-socket-inet6-perl >> ... >> leo@stellie:~$ sudo invoke-rc.d apt-cacher restart >> Restarting Apt-Cacher: apt-cacherdebug [8473]: Using IPv6 >> debug [8473]: Listening on :::3142 >> debug [8473]: fork listener >> debug [8473]: Clean up before exiting. >> . >> leo@stellie:~$ netstat -na | grep 3142 >> tcp6 0 0 :::3142 :::* LISTEN >> >> leo@stellie:~$ telnet localhost 3142 >> Trying 127.0.0.1... >> telnet: Unable to connect to remote host: Connection refused > > There is something else going on here. Apt-cacher is running and > listening. Something else is blocking the connection. Are you using TCP > wrappers? Firewall?
The issue is that apt-cacher is listening for IPv6 only. Have a look at how other daemons, for example ssh, are listening to : leo@stellie:~$ netstat -na | grep :22 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN You can see that ssh is listening for both IPv4 and IPv6 incoming connections. So maybe, the bug is there : you don't have to choose between IPv6 and IPv4, but you have to do both, if possible. -- Léo. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org