From owner-freebsd-pkg@freebsd.org Wed Sep 6 06:43:06 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8988E16E41 for ; Wed, 6 Sep 2017 06:43:06 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3AC9A395E for ; Wed, 6 Sep 2017 06:43:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 8CF064040 for ; Wed, 6 Sep 2017 06:42:57 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/8CF064040; dkim=none; dkim-atps=neutral Subject: Re: net-mgmt/nrpe-ssl : installing on an icinga2 host results in conflict To: freebsd-pkg@freebsd.org References: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com> From: Matthew Seaman Message-ID: Date: Wed, 6 Sep 2017 07:42:51 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <2b0992e2-cf3a-25d6-29b5-99fc5d1f3885@rubenvos.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="c8u36KmvLIMLW6um98pTngGKDFE6xT8UN" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2017 06:43:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --c8u36KmvLIMLW6um98pTngGKDFE6xT8UN Content-Type: multipart/mixed; boundary="SlUBNRdR7Aotc0Q2bWQNPVRcEEa2Tk9fC"; protected-headers="v1" From: Matthew Seaman To: freebsd-pkg@freebsd.org Message-ID: 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--