From owner-freebsd-questions@freebsd.org Mon Dec 7 16:13:50 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 887FF9A0F1A for ; Mon, 7 Dec 2015 16:13:50 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mx1.eichornenterprises.com (mx1.eichornenterprises.com [104.236.13.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.eichornenterprises.com", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 399761B07 for ; Mon, 7 Dec 2015 16:13:49 +0000 (UTC) (envelope-from ike@michaeleichorn.com) Received: from mail.eichornenterprises.com (cpe-184-59-147-149.neo.res.rr.com [184.59.147.149]) by mx1.eichornenterprises.com (OpenSMTPD) with ESMTP id c8a2912a; Mon, 7 Dec 2015 11:13:46 -0500 (EST) Received: by mail.eichornenterprises.com (OpenSMTPD) with ESMTPSA id 13f3987d TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Mon, 7 Dec 2015 11:13:45 -0500 (EST) Message-ID: <1449504826.1126.13.camel@michaeleichorn.com> Subject: Re: Migrating to FreeBSD from Debian From: "Michael B. Eichorn" To: Daniel Feenberg , Lowell Gilbert Cc: freebsd-questions@freebsd.org Date: Mon, 07 Dec 2015 11:13:46 -0500 In-Reply-To: References: <86poyiuynx.fsf@gmail.com> <56659FC8.8020904@FreeBSD.org> <444mfujmpd.fsf@be-well.ilk.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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, 07 Dec 2015 16:13:50 -0000 On Mon, 2015-12-07 at 10:54 -0500, Daniel Feenberg wrote: > > On Mon, 7 Dec 2015, Lowell Gilbert wrote: > > > > But we should warn then about not mixing ports & packages. I > > > agree, > > > pkg is a good choice [when pkg only]. > > > > That's gradually become a much smaller issue than it used to be. > > What does the warning mean? That once I have installed a single > package I > can never use ports? So if I want a port, and already have packages, > I > have to uninstall all of the packages first and can never in the > future > install any package? That seems extreme. Or is there a less > restrictive > interpretation that is more correct? > > daniel feenberg > NBER You can use them together, but you have to pay attention to make sure that ports have options that are compatible with the options used to create packages. Conversely you need to make sure that pkg doesn't update a port with custom options back to a new package with the default ones. Further it is important that the ports tree and the one that packages are built off of stay in sync. It can be done (with pkg lock, and the quartery ports branch), but it tends to be fragile. For mixing in more than a handful of ports, using poudriere (a personal repo builder) is usually better choice (esp. if you have multiple systems).