From owner-freebsd-questions@FreeBSD.ORG Fri Dec 26 17:25:35 2014 Return-Path: Delivered-To: freebsd-questions@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 625C8F59 for ; Fri, 26 Dec 2014 17:25:35 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21FCD661EF for ; Fri, 26 Dec 2014 17:25:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-13.dynamic.qsc.de [92.195.30.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 66E322761E; Fri, 26 Dec 2014 18:18:04 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sBQHI42v001980; Fri, 26 Dec 2014 18:18:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 26 Dec 2014 18:18:04 +0100 From: Polytropon To: Chris Stankevitz Subject: Re: Do I want to switch to the new pkg(8) format? Message-Id: <20141226181804.6caa327e.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions 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:25:35 -0000 On Fri, 26 Dec 2014 08:47:58 -0800, Chris Stankevitz wrote: > Hello, > > I am familiar with the gentoo "portage" system but I am unfamiliar > with the freebsd system. I prefer to compile ports. FreeBSD supports both installing from source or from precompiled binary packages. Both are equivalent when it comes to the result. > 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. That's the correct way to do it. The ports tree itself does offer a "make update" command, but this will only update the ports tree itself (using svn). To update the installed applications, they would have to be installed again ("make deinstall && make reinstall"). And portmaster is a great tool to help in this process. > 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? Yes, definitely. The older pkg_*-based format isn't supported any longer in the future. > 2. If yes, have I already done so? Yes, because of: > PS: I'm running 10.1-RELEASE-p3 Since FreeBSD 10.0, pkg (also called pkgng) already is the default format for binary packages, as well as for the system's means of keeping the package database. The tools for maintaining ports (such as portmaster or portupgrade) interact with the new pkg system without problems. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...