The packeet-introspection lab has an error in the geolocation section. In fact, the maxmind databases in .dat format are no longer functional. They must be replaced with those in mmdb format.
You can thind them here
https://github.com/P3TERX/GeoLite.mmdb?tab=readme-ov-file