Package: apt-cacher
Version: 1.6.12
Severity: normal

After my latest update, i was no more able to connect to apt-cacher.
I first found that apt-cacher was no more opening an IPv4 tcp socket, but only 
an IPv6 one.
Then i looked into the perl code and found this :
sub io_socket_inet46 {
    # Test if IPv6 is available and use if it is
    if (eval{local $SIG{__DIE__} = 'IGNORE'; # Prevent log verbosity
             require IO::Socket::INET6}){
        import IO::Socket::INET6;
        debug_message('Using IPv6');
        return  IO::Socket::INET6->new(@_);
    }
    else {
        return IO::Socket::INET->new(@_);
    }
}
that means : "if IO::Socket::INET6 is an installed perl module, then i want to 
do IPv6 and i don't want to do IPv4 anymore"

I don't know why libio-socket-inet6-perl was installed on my host, but I don't 
have anything configured for IPv6 in my network, by the way

So i just removed this package, that i don't care about, and everything goes 
right now.

So what ? I don't know anything about IPv6, but the way it is used by 
apt-cacher leads to no more IPv4 connectivity, so there might be something 
wrong somewhere.

Hope this helps.

Léopold.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-cacher depends on:
ii  ed                            1.4-3      The classic UNIX line editor
ii  libdigest-sha1-perl           2.13-1     NIST SHA-1 message digest algorith
ii  libfilesys-diskspace-perl     0.05-13    fetch filesystem size and usage in
ii  libfreezethaw-perl            0.5001-1   module to serialize and deserializ
pn  libio-compress-bzip2-perl     <none>     (no description available)
ii  libio-compress-perl [libio-co 2.024-1    bundle of IO::Compress modules
ii  libio-compress-zlib-perl      2.024-1    Transitional dummy package for IO:
ii  libio-interface-perl          1.05-1     socket methods to get/set interfac
ii  libwww-curl-perl              4.12-1     Perl bindings to libcurl
ii  libwww-perl                   5.836-1    Perl HTTP/WWW client/server librar
ii  perl [libio-compress-zlib-per 5.10.1-17  Larry Wall's Practical Extraction 

Versions of packages apt-cacher recommends:
ii  libberkeleydb-perl       0.42-1~squeeze1 use Berkeley DB 4 databases from P

Versions of packages apt-cacher suggests:
pn  libio-socket-inet6-perl       <none>     (no description available)

-- Configuration Files:
/etc/apt-cacher/apt-cacher.conf changed:
cache_dir=/var/cache/apt-cacher
admin_email=root@localhost
daemon_port=3142
group=www-data
user=www-data
allowed_hosts=*
denied_hosts=
denied_hosts_6=
generate_reports=1
clean_cache=1
offline_mode=0
logdir=/var/log/apt-cacher
expire_hours=0
use_proxy=0
use_proxy_auth=0
limit=0
debug=1
path_map =  debian ftp.fr.debian.org/debian ftp.de.debian.org/debian; security 
security.debian.org ; ubuntu archive.ubuntu.com/ubuntu ; ubuntu-security 
security.ubuntu.com/ubuntu ; marillat www.debian-multimedia.org ; xawdecode 
xawdecode.sourceforge.net/debian ; wto depot.tuxgasy.fr

/etc/default/apt-cacher changed:
AUTOSTART=1


-- no debconf information




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to