HELDON: country flag fix in Deluge (for Debian Lenny)

Publicēts: 16:17:33 12/10/11
Autors: HELDON

Country Flags sometimes not shown properly in Deluge. Geoip.dat is very outdated and seemingly never updated.

Below is how to update it manually:

1. wget http://www.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
2. gunzip GeoLiteCity.dat.gz
3. chown root.root GeoLiteCity.dat
4. mv GeoLiteCity.dat /usr/share/GeoIP/GeoIP.dat

p.s. Īstais fails izrādās ir http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

Jo pirmais met errroru - Invalid database type GeoIP City Edition, Rev 1, expected GeoIP Country Edition