Am 2019-08-25 20:54, schrieb Matus UHLAR - fantomas:

I don't think you should download geoip postgres modules when what you
really need is apparently more recent database.

Debian SA package suggests installing libgeo-ip-perl which further
recommends geoip-database.

buster contains version 20181108-1, while buster-backports contains version
20190724-1~bpo10+1
Your problem could apparently be solves installing backported geoip-database
version.

I tried this already (described in e-Mail at 4:53 pm), but the ip address 45.141.151.5 wasn't in the backport geoip-database.

Maybe I have tomatoes on my eyes. I can't find the right debian package with the DB_File-Module. Do you or someone else know which package does contain the module? I don't use the cpan shell for installing modules.

it's very good that you don't use these. They can make mess on debian
system. Onlly install debian packages unless you really need and can take
care of manually installed packages.

Yes, as you can see I got a warnung and I installed the liblocale-codes-perl package.

# ./pgeoiplookup.pl -f /opt/ipcc/ipcc.db 45.141.151.5
Locale::Country will be removed from the Perl core distribution in the next major release. Please install the separate liblocale-codes-perl package. It is being used at ./pgeoiplookup.pl, line 35. Locale::Codes will be removed from the Perl core distribution in the next major release. Please install the separate liblocale-codes-perl package. It is being used at /usr/share/perl/5.28/Locale/Country.pm, line 22.
GeoIP version 1566699945: TR, Turkey


Reply via email to