Bug#685157: error: Socket version 1.95 required--this is only version 1.94

Bjørn Mork bjorn at mork.no
Fri Aug 17 19:26:36 UTC 2012


gregor herrmann <gregoa at debian.org> writes:

> On Fri, 17 Aug 2012 15:24:40 +0200, Bjørn Mork wrote:
>
>> Starting spamass-milter fails with:
>> 
>> Starting SpamAssassin Mail Filter Daemon: Aug 17 14:13:47.294 [2566] error: Socket version 1.95 required--this is only version 1.94 at /usr/share/perl5/IO/Socket/SSL.pm line 71.
>> Aug 17 14:13:47.425 [2566] error: Can't locate IO/Socket/IP.pm in @INC (@INC contains: /usr/share/perl5 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl) at /usr/share/perl5/IO/Socket/SSL.pm line 85.
>> 
>> Looks like this package requires a Socket.pm which is newer than
>> the one in perl-base.
>
>
> The package already has
> Recommends: libio-socket-ip-perl (>= 0.11) | libio-socket-inet6-perl,
>  perl (>= 5.15.6) | libsocket-perl (>= 1.95) | libsocket6-perl, ...
>
> That should do it?
> (Note that upstream doesn't list them as a requirement, that's why it's
> not in Depends but in Recommends).

OK, should have noticed this.  But I don't understand why these
recommends weren't installed automatically.   I have not disabled
APT::Install-Recommends on the server where I noticed the problem.

Ah, right.  I had libsocket6-perl installed, so the Recommends were
fulfilled:

bjorn at louie:~$ apt-cache policy libsocket6-perl
libsocket6-perl:
  Installed: 0.23-1+b2
  Candidate: 0.23-1+b2
  Version table:
 *** 0.23-1+b2 0
        990 http://mirror.bytemark.co.uk/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status


That did not prevent the error.  

> And the whole testing in SSL.pm is done in eval() blocks, so I don't
> understand where the errors above come from ...

Maybe spamassassin does something odd here?



Bjørn



More information about the pkg-perl-maintainers mailing list