From owner-freebsd-questions@freebsd.org Mon Sep 14 19:31:54 2015 Return-Path: Delivered-To: freebsd-questions@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 5146CA03C77 for ; Mon, 14 Sep 2015 19:31:54 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from out-002.lax.mailroute.net (002.lax.mailroute.net [199.89.1.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailroute.net", Issuer "AlphaSSL CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3869F1359 for ; Mon, 14 Sep 2015 19:31:53 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by out-002.lax.mailroute.net (Postfix) with ESMTP id 3nFHm03L0Vz5vYx; Mon, 14 Sep 2015 19:28:16 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from out-002.lax.mailroute.net ([199.89.1.5]) by localhost (002.lax.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id HQOkDk5QQQJU; Mon, 14 Sep 2015 19:28:14 +0000 (UTC) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by out-002.lax.mailroute.net (Postfix) with ESMTP id 3nFHly2LJmz5vRB; Mon, 14 Sep 2015 19:28:14 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id C44E023BF; Mon, 14 Sep 2015 12:28:12 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Patrick Hess Cc: freebsd-questions@freebsd.org Subject: Re: Let pkg upgrade packages that were installed from binary only? References: <55EEA459.1050304@shopzeus.com> <7254888.Ivp9dgZRl1@desk8.phess.net> x-mayan-date: Long count = 13.0.2.13.17; tzolkin = 13 Caban; haab = 5 Chen Date: Mon, 14 Sep 2015 12:28:12 -0700 In-Reply-To: <7254888.Ivp9dgZRl1@desk8.phess.net> (Patrick Hess's message of "Wed, 09 Sep 2015 23:24:59 +0200") Message-ID: <86a8sool6b.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2015 19:31:54 -0000 >>>>> "Patrick" =3D=3D Patrick Hess writes: Patrick> Nagy L=C3=A1szl=C3=B3 Zsolt wrote: >> So is there a way to tell "pkg" that it should not automatically install= =20 >> dependencies from packages that were installed from the ports tree? Patrick> You can use "pkg lock ..." to tell pkg(8) not to mess with the pac= kages Patrick> that you want to compile yourself from the ports tree. You can still run in to dependency hell that way. The moment you start setting non-default options, the best way I've found is setting up poudriere. It's amazingly easy once you get the hang of it, and you can do a "build" without breaking your current installation until it builds clean. --=20 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix consulting, Technical writing, Comedy, etc. etc. Still trying to think of something clever for the fourth line of this .sig