Package: libgeo-ip-perl
Version: 1.50-1+b1
Severity: grave
Justification: renders package unusable

Dear maintainers,

it seems there is an incompatibility between the geoip-database shipped in
Debian and the module Geo::IP.

Trying to do (according to the docs):
        use Geo::IP;
        my $gi = Geo::IP->new(GEOIP_MEMORY_CACHE);
        my $record = $gi->record_by_addr($ip);
results in:
        Invalid database type GeoIP Country Edition, expected GeoIP City 
Edition, Rev 1

Same with
        my $gi = Geo::IP->open( '/usr/share/GeoIP/GeoIP.dat', 
GEOIP_MEMORY_CACHE );

Thanks for your consideration.

Norbert


-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.0 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgeo-ip-perl depends on:
ii  libc6                       2.24-9
ii  libgeoip1                   1.6.9-4
ii  perl                        5.24.1-2
ii  perl-base [perlapi-5.24.1]  5.24.1-2

libgeo-ip-perl recommends no packages.

libgeo-ip-perl suggests no packages.

-- no debconf information

Reply via email to