From owner-freebsd-questions@freebsd.org Fri Jul 3 12:09:25 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 F0163994FC5 for ; Fri, 3 Jul 2015 12:09:25 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id BD7B41291 for ; Fri, 3 Jul 2015 12:09:24 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [88.151.27.41] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1ZAzmO-0001DO-4n for freebsd-questions@freebsd.org; Fri, 03 Jul 2015 13:09:16 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.marelmo.com with smtp (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZAzmM-000MoN-Vx for freebsd-questions@freebsd.org; Fri, 03 Jul 2015 12:09:14 +0000 Date: Fri, 3 Jul 2015 13:09:14 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: portmaster -af fails due to dead port - HELP Message-Id: <20150703130914.1608e67e890df138a4d1dd1b@sohara.org> In-Reply-To: <5595FC4A.6020402@gmail.com> References: <20150702195510.GA2863@oslo.ath.cx> <20150703023514.GA4554@neutralgood.org> <5595FC4A.6020402@gmail.com> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.27; amd64-portbld-freebsd10.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 24227@permanet.ie (plain) 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: Fri, 03 Jul 2015 12:09:26 -0000 On Thu, 02 Jul 2015 23:06:50 -0400 "William F. Dudley Jr." wrote: > Is there a *simple* way to just replace all the ports I've built with > the packaged equivalents? I went through doing just that some months ago as part of switching to pkg. The approach I used was to use pkg_cutleaves to get a list of stuff that wasn't installed as a dependency. Then I looked through it and removed some I didn't care about winding up with my wanted list. Then I used pkg_delete to remove everything, installed pkg and used pkg install to install everything from my wanted list - which of course picked up all the dependencies. Ever since then all I've needed to do to keep it all up to date is an occasional pkg upgrade and build the couple of ports for which I have non-standard options. I really don't miss portupgrade, it was a great tool but pkg is much better. -- Steve O'Hara-Smith