From owner-freebsd-pkg@freebsd.org Sun Jan 3 09:33:48 2016 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 46BB4A5F9D0 for ; Sun, 3 Jan 2016 09:33:48 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E4B111C54 for ; Sun, 3 Jan 2016 09:33:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id u039XgIx094806 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 3 Jan 2016 09:33:42 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk u039XgIx094806 Authentication-Results: smtp.infracaninophile.co.uk/u039XgIx094806; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: Is this expected behavior? To: freebsd-pkg@freebsd.org References: <72E7C3C6-9DE6-4E28-B233-961C83CCDC17@gmail.com> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <5688EAEF.3010700@FreeBSD.org> Date: Sun, 3 Jan 2016 09:33:35 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <72E7C3C6-9DE6-4E28-B233-961C83CCDC17@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PbhDGnTIxcdswxn5CAppQdTccfa0vCl5t" X-Virus-Scanned: clamav-milter 0.99 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 03 Jan 2016 09:33:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PbhDGnTIxcdswxn5CAppQdTccfa0vCl5t Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/01/2016 02:13, Paul Beard wrote: > Installed packages to be REMOVED: > rrdtool-1.4.8_9 > subversion-1.9.3_1 > serf-1.3.8_1 >=20 > Why is pkg removing *anything?* Why is the default behavior to remove > ports? I have had to install subversion twice today after pkg decided > I didn=E2=80=99t really need it. >=20 > I avoid using pkg for this reason as well as the fact it can=E2=80=99t = cope > with specific config options I need, so I generally build from > source. >=20 > Why did it remove rrdtool? Does it not know that rrdtool is a > dependency of cacti? Ah, I see now cacti was removed at some point > when I wasn=E2=80=99t watching. >=20 > Is there a switch for =E2=80=9Cdon=E2=80=99t remove anything unless exp= licitly > instructed to?=E2=80=9D In general terms you've told pkg to install foo, which depends on bar. But you already have installed baz, which conflicts with bar. 'conflicts' usually boils down to 'tries to install files with the same name' -- a lot of the time the things that conflict with each other are different versions of the same package. In your case, I think it was git and subversion fighting over expat (possibly). As a rule of thumb: * Make sure everything else is up to date before installing new packages, particularly if what you want to install has a complex dependency tree. * If you use non-standard options for ports and especially if you're modifying DEFAULT_VERSIONS then you have to ensure consistent dependencies across all your packages. Which means you probably \ have to build a few more packages than you first thought. Cheers, Matthew --PbhDGnTIxcdswxn5CAppQdTccfa0vCl5t Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWiOr2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATMOUQAJBCJKG99CjmSWg5we4sw3kI 3ERP0rhssJJKbY7TFfLyDW/L/CTTZQ8o4CXzpR43w1OV3YYp5+j4+hwV33wdV0pD YLzj03KjPPFU5FBeFBt0G3BG5wz9f10xa4u+lh8Eo7x02Ji4GP0JOlLour3thihD yHp3A+HOB9fG0Ao/KQHIgZ/re6WERWPIapU6dcVL3n+raDUXN0hQShZVGcXSYSVY gkXgvzHgdABEmzRZqOLfRCjp5N0dbK3ZMBsxqADezg6RDLDsvUBiDI3QgMngj8Q3 UkXxnI42PwnploHBCLlfE7wHtQVrrfl9ZXCUjHYGD0nHw3iNroQaSFRDrpiFzzC9 Vg4fsK0NA1uaEaLOPwtl9dF7v5+qhJmioKpJdyDKDQtjTu/TROIDR92wBlHM9ONH TZB/3r+RbvDi4BZlZUHnMxJ8m4epCSg0IpZdSJ/zbrB5nApM4jiKPwJP+xzuO2oK WsPLq13fbA9D6C43bOMqkxDol0yat+xnI24F8VICyvLvgh1nlC8QHl3GT5Z+vmYC 3db0tlhqxqr+GGZU5AKDHEpQb4YaxARM41yUVlljA3ZIhx1ogXGmwCpF3JMAyfPo XBwr6t4u3arvSjNU5bvL78v8+yylQ0ujXywCxSS0WUXAbgGBU0jsRzrrtNizyohT h3wZbPBqYMitP2OhjkS2 =ATTt -----END PGP SIGNATURE----- --PbhDGnTIxcdswxn5CAppQdTccfa0vCl5t--