Date: Wed, 6 Sep 2017 07:42:51 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-pkg@freebsd.org Subject: Re: net-mgmt/nrpe-ssl : installing on an icinga2 host results in conflict Message-ID: <ba3b39a4-c0e7-5f6a-abca-683e96d91eb0@FreeBSD.org> In-Reply-To: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com> References: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --c8u36KmvLIMLW6um98pTngGKDFE6xT8UN Content-Type: multipart/mixed; boundary="SlUBNRdR7Aotc0Q2bWQNPVRcEEa2Tk9fC"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-pkg@freebsd.org Message-ID: <ba3b39a4-c0e7-5f6a-abca-683e96d91eb0@FreeBSD.org> Subject: Re: net-mgmt/nrpe-ssl : installing on an icinga2 host results in conflict References: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com> In-Reply-To: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com> --SlUBNRdR7Aotc0Q2bWQNPVRcEEa2Tk9fC Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 06/09/2017 00:55, Ruben wrote: > I'm running an icinga2 installation on a 11.1 system, it works well. >=20 >=20 > Trying to install the check_nrpe binary (so the icinga installation can= > query nrpe checks defined on "clients") using pkg turns out to be a > little troublesome though. When I try to install the nrpe-ssl package, > pkg complains that there is a conflict between nrpe-ssl dependency > 'nagios-plugins' and the installed package 'monitoring-plugins' : >=20 >=20 > =C2=A0 - monitoring-plugins-2.2_2 conflicts with nagios-plugins-2.2.1_4= ,1 on > /usr/local/libexec/nagios/check_apt >=20 >=20 > the suggested solution of removing the icinga server package is > unacceptable in my situation. Since net-mgmt/icinga2 explicitly lists > monitoring-plugins as a requirement, it seems a little strange as well.= >=20 >=20 > Does somebody have any advice? Am I trying to install the wrong package= ? > Or should I perhaps file a bug report? >=20 >=20 > Any feedback appreciated :) This is a result of a systemic problem with the ports where there is a lack of support for alternate dependencies. (It's not pkg going wrong per se: pkg has to work with what the ports gives it, and the ports doesn't give it any way of dealing with this problem. Yet.) The trouble here results originally from the fork between nagios and icinga. nagios has the nagios-plugins port, and icinga has the monitoring-plugins port where the essential difference between nagios-plugins and monitoring-plugins is what each depends on. Unfortunately for many monitoring plugins, there aren't similar duplicate ports -- one for nagios and the other for icinga -- in the same way. So despite the fact that the nagios plugins could work perfectly well with icinga, you're going to run into this sort of incompatibility. This really only affects the pre-compiled packages. You can build the net-mgmt/nrpe port yourself with the dependency switched to monitoring-plugins by setting OPTIONS for the port. Which is merely one instance of a problem with the whole pre-compiled package setup in FreeBSD at the moment. There are a number of fairly important changes to the ports in development that will largely solve this sort of problem, but progress is slow and I can't say when those will actually be implemented. At the moment, I'm afraid your best answer is to build your own ports with the options settings you require. Cheers, Matthew --SlUBNRdR7Aotc0Q2bWQNPVRcEEa2Tk9fC-- --c8u36KmvLIMLW6um98pTngGKDFE6xT8UN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZr5jxXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATI2wP/0d7ccsEAnRnzYhQ1qiiWZHU 0wBp8A+lKaf38q4AegkMRJ5XMU8UR5bKfC+9lQhi9B/dhBjawMN9KXN3rko3s7ok WqHMiq1BT1sOIwEmWXCbIDOS6qIbzxlV501poi8DmgocMzV6kPMfsBrc5P1+0CNq 7SwJX8eQYIsJWpfY1XaPcRUpmE6C/KzFD9hEfYtohYjsQvKDB7vBlow+GLIf1ju2 rNyptKqnt64cV+KT4IOt0OfRq1OqEsc9Npf2TiWrtPShEJQbA+QEVUwbNML6t7PW cv/65r+446RFMHsyq4lOyvqlYqXvGl1Kqyxtzd+W2qfJEeGzr5kSa1v6kl8iYpmS OYV/dXoDOpzcTuGRLNNPK91aBcO6+9qjIe4edTddNJitmsujM0NFJagqiazgf43u nVTBJtaLQGh+CH2lX9Kgc1rInrRh/eAnAdIxblBLg+ykvQUU3W58Gr2eT7ZYnOJ0 4zOoYZRr7adOYDlh7QGibIlFct0N5GodOHs0li1tIEGJRGK6JBU09kB1PY6u44xt 8dQ5MDzJAtv3kjnoUne1n+tMilOGdFl+7cP2vAq1WMgZn9Zx5XytGRRzY21YhjCQ Zztw4YD6xcTJ0x5IkgJFzRNZH/rcxuHyzoSmcpn7P0ozAupeGutUX4e+pvXSZQ+W QLiSX85VZQkWuVsE9Hat =9HgV -----END PGP SIGNATURE----- --c8u36KmvLIMLW6um98pTngGKDFE6xT8UN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba3b39a4-c0e7-5f6a-abca-683e96d91eb0>