Hello, can someone explain, why the two packages -? GeoIP -? geoipupdate are needed when installing the bind-utils package? yum install bind-utils ... ======================================================================================================================= ?Package??????????????????????? Arch?????????????????? Version?????????????????????????????? Repository??????????? Size =======================================================================================================================Installing: ?bind-utils???????????????????? x86_64???????????????? 32:9.11.4-26.P2.el7_9.2?????????????? base???????????????? 260 k Installing for dependencies: ?GeoIP????????????????????????? x86_64???????????????? 1.5.0-14.el7????????????????????????? base???????????????? 1.5 M ?bind-libs????????????????????? x86_64???????????????? 32:9.11.4-26.P2.el7_9.2?????????????? base???????????????? 157 k ?bind-libs-lite???????????????? x86_64???????????????? 32:9.11.4-26.P2.el7_9.2?????????????? base???????????????? 1.1 M ?bind-license?????????????????? noarch???????????????? 32:9.11.4-26.P2.el7_9.2?????????????? base????????????????? 90 k ?geoipupdate??????????????????? x86_64???????????????? 2.5.0-1.el7?????????????????????????? base????????????????? 35 k Transaction Summary =======================================================================================================================Install? 1 Package (+5 Dependent packages) ... Thanks, Walter
Jonathan Billings
2020-Dec-08 13:44 UTC
[CentOS] strange RPM dependency observed in CentOS 7
On Tue, Dec 08, 2020 at 02:33:01PM +0100, Walter H. wrote:> can someone explain, why the two packages > -? GeoIP > -? geoipupdate > are needed when installing the bind-utils package?The bind-utils package requires 'libGeoIP.so.1()(64bit)', which is provided by the GeoIP package. The GeoIP package requires 'geoipupdate', which is provided by the geoipupdate package. % rpm -q --requires bind-utils|grep GeoIP libGeoIP.so.1()(64bit) % rpm -q --requires GeoIP | grep geoipupdate geoipupdate GeoIP provides a C library and a lookup tool to look up countries from an IP address. The bind-utils executables are all linked against libGeoIP.so.1, so I assume they use some functionality from that library. /usr/bin/geoipupdate is a tool to update the data files in the GeoIP package. -- Jonathan Billings <billings at negate.org>