Summary: | =dev-libs/geoip-1.6.2 no longer installs databases | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomáš Mózes <hydrapolic> |
Component: | [OLD] Library | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tomáš Mózes
2014-10-30 08:30:09 UTC
(In reply to Tomas Mozes from comment #0) > After upgrading from dev-libs/geoip-1.6.0-r1 to dev-libs/geoip-1.6.2 I > noticed that the data under /usr/share/GeoIP/ are gone. Realtime php > applications requiring these files start to fail afterwards. > > The current pkg_postinst is: > "Don't forget to run the included geoipupdate.sh or geoipupdate (from" > "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/" > "with geo-located IP address databases." That's bug #526244. > Without looking anywhere else Where else would you want to be looking? (In reply to Jeroen Roovers from comment #1) > (In reply to Tomas Mozes from comment #0) > > After upgrading from dev-libs/geoip-1.6.0-r1 to dev-libs/geoip-1.6.2 I > > noticed that the data under /usr/share/GeoIP/ are gone. Realtime php > > applications requiring these files start to fail afterwards. > > > > The current pkg_postinst is: > > "Don't forget to run the included geoipupdate.sh or geoipupdate (from" > > "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/" > > "with geo-located IP address databases." > > That's bug #526244. > > > Without looking anywhere else > > Where else would you want to be looking? Would be nice to be notified after merging the package. Imagine you update world, read the messages, but you see no information about this change, just by looking at /usr/share/GeoIP. (In reply to Tomas Mozes from comment #2) > (In reply to Jeroen Roovers from comment #1) > > > The current pkg_postinst is: > > > "Don't forget to run the included geoipupdate.sh or geoipupdate (from" > > > "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/" > > > "with geo-located IP address databases." > > Where else would you want to be looking? > > Would be nice to be notified after merging the package. That's what pkg_postinst() already does. > Imagine you update world, read the messages, but you see no information > about this change, just by looking at /usr/share/GeoIP. Then you didn't read the messages? (In reply to Jeroen Roovers from comment #3) > (In reply to Tomas Mozes from comment #2) > > (In reply to Jeroen Roovers from comment #1) > > > > The current pkg_postinst is: > > > > "Don't forget to run the included geoipupdate.sh or geoipupdate (from" > > > > "net-misc/geoipupdate) regularly to populate ${ROOT}/usr/share/GeoIP/" > > > > "with geo-located IP address databases." > > > > Where else would you want to be looking? > > > > Would be nice to be notified after merging the package. > > That's what pkg_postinst() already does. > > > Imagine you update world, read the messages, but you see no information > > about this change, just by looking at /usr/share/GeoIP. > > Then you didn't read the messages? I did read the message, however it wasn't obvious that my databases were deleted after the upgrade. I'll improve the message in that respect. + 30 Oct 2014; Jeroen Roovers <jer@gentoo.org> geoip-1.6.2.ebuild, + geoip-1.6.3.ebuild: + Add warning about databases no longer being installed (bug #527410). + I know I'm really annoying, however I would further add this to the warning: "... and any previously installed databases were removed." (In reply to Tomas Mozes from comment #7) > I know I'm really annoying, however I would further add this to the warning: > > "... and any previously installed databases were removed." I'm not so sure about that. It depends on how portage is configured and among other things whether you're a paying customer using net-misc/geoipupdate. Can we then perhaps explicitly mention the users of the free database? |