From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:59:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEB459E6 for ; Fri, 26 Dec 2014 17:59:58 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CE96665F3 for ; Fri, 26 Dec 2014 17:59:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id sBQHxuTp063487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 26 Dec 2014 10:59:57 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id sBQHxuRA063484; Fri, 26 Dec 2014 10:59:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 26 Dec 2014 10:59:56 -0700 (MST) From: Warren Block To: cpet@sdf.org Subject: Re: Do I want to switch to the new pkg(8) format? In-Reply-To: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> Message-ID: References: <7813720d20f4ad81c083db7695df728b.squirrel@ma.sdf.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 26 Dec 2014 10:59:57 -0700 (MST) Cc: freebsd-questions , Chris Stankevitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 17:59:58 -0000 On Fri, 26 Dec 2014, cpet@sdf.org wrote: >> Hello, >> >> I am familiar with the gentoo "portage" system but I am unfamiliar >> with the freebsd system. I prefer to compile ports. >> >> While I am familiar with "make install", I do not know how to upgrade >> all the ports I previously installed (equivalent to gentoo's "emerge >> -Dauv world"). Section 5.5.3.1 of the handbook says that I should use >> portmaster. When I install portmaster I get a friendly reminder: >> >> "If you want to switch to the new pkg(8) format, and have not already >> done so, there are some extra 1-time steps to take" >> >> Can you guys help me answer these questions: >> >> 1. Do I want to switch to the new pkg(8) format? >> >> 2. If yes, have I already done so? >> >> Thank you, >> >> Chris >> >> PS: I'm running 10.1-RELEASE-p3 >> > This comes down to 2 things which are easy: > > 1. Do you compile a lot of packages with custom options then skip pkgng > and continue to using ports. No, both binary packages and ports require pkg now. It is the only supported package management tool, and installing ports *is* installing packages. Any users who continue to use and update FreeBSD with ports or packages after September 2014 must switch to pkg. > 2. If you don't and just do make install clean and only use default > options then pkgng would be easier. The old package database tools are no longer supported. So yes, it is time to switch to pkg (the preferred name now). If the old pkg_* commands are still present, do not use them after the switch. The message on portmaster needs to be updated. Switching to the new package database is a one-time thing.