From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 7 21:23:29 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 66CA4D18 for ; Wed, 7 Jan 2015 21:23:29 +0000 (UTC) Received: from internal.electricembers.net (internal.electricembers.net [208.90.215.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.electricembers.net", Issuer "DigiCert High Assurance CA-3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 505E11B5 for ; Wed, 7 Jan 2015 21:23:29 +0000 (UTC) Received: from [172.16.1.163] (unknown [162.245.23.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ben) by internal.electricembers.net (Postfix) with ESMTPSA id 6ABB92D4D9E for ; Wed, 7 Jan 2015 13:15:09 -0800 (PST) Message-ID: <54ADA1DC.9090905@electricembers.coop> Date: Wed, 07 Jan 2015 13:15:08 -0800 From: Benjamin Connelly User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: mostly pkg, some ports Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 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, 07 Jan 2015 21:23:29 -0000 Is it OK to compile some things (from a current ports tree) and update the rest with pkg? For example, on a new server with mysql56 installed via pkg, I wanted to install mytop, but that binary package wanted to swap mysql56 for mysql55. So I installed mytop from ports. It built using my installed mysql56, and everything was happy. But that made it tricky/impossible to use 'pkg upgrade' going forward: New packages to be INSTALLED: mysql55-client: 5.5.41 Installed packages to be REINSTALLED: p5-DBD-mysql-4.029 (direct dependency changed) dialog4ports-0.1.5_2 (options changed) Knowing I caused this situation with the mytop port, I tried locking it, but that doesn't help. It's actually mytop's requirement for p5-DBD-mysql, which was built using mysql56 locally, but using mysql55 in the repo. (Even deleting mytop left me confused, until I figured out it was p5-DBD-mysql still around causing the trouble -- and the appeal of pkg is to not have to play that old tired game of manually tracking dependencies up and down.) Do I need to run poudriere as soon as I want to use anything other than the default versions of things (overriding /usr/ports/Mk/bsd.default-versions.mk with /etc/make.conf)? Or am I just missing something about how to drive pkg correctly in these situations? (Perhaps something with 'pkg set -o'? -- I'm under the impression that's no longer something I should run. . .) I was also hoping to use PHP 5.6 on this system, but with the default still at 5.4 I'm worried there will be similar troubles if I start mixing ports into my packages. Any and all pointers welcome! And I'm available to help develop documentation for best practices for administrators. . . Benjamin