From owner-freebsd-questions@freebsd.org Fri Jul 3 13:36:56 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 83A2E994269 for ; Fri, 3 Jul 2015 13:36:56 +0000 (UTC) (envelope-from wblock@wonkity.com) 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 2DE391589 for ; Fri, 3 Jul 2015 13:36:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t63DaqWk030544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 3 Jul 2015 07:36:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t63Daq6w030541; Fri, 3 Jul 2015 07:36:52 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 3 Jul 2015 07:36:52 -0600 (MDT) From: Warren Block To: RW cc: freebsd-questions@freebsd.org Subject: Re: portmaster -af fails due to dead port - HELP In-Reply-To: <20150703125812.7359eefd@gumby.homeunix.com> Message-ID: References: <20150702195510.GA2863@oslo.ath.cx> <20150703023514.GA4554@neutralgood.org> <5595FC4A.6020402@gmail.com> <20150703125812.7359eefd@gumby.homeunix.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) 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, 03 Jul 2015 07:36:52 -0600 (MDT) 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 13:36:56 -0000 On Fri, 3 Jul 2015, RW via freebsd-questions wrote: > On Thu, 02 Jul 2015 23:06:50 -0400 > William F. Dudley Jr. wrote: > >> https://www.freebsd.org/releases/9.3R/installation.html >> >> And it says "users of systems being upgraded from FreeBSD 8.4-RELEASE >> or earlier will be prompted by freebsd-update(8) to rebuild all >> third-party applications (e.g., ports installed from the ports >> tree)". So I need to rebuild the ports. > > > You don't need to rebuild them, just replace them with packages built > against the new base system using pkg. I expect the freebsd-update > message was written before pkg was created. > > I think at this point it might be simpler to do a pkg delete -a and > install the packages you want. That is still the same with building from ports. Building ports with some of the old ones still in place can cause problems. The fastest and easiest way is to get a list of installed packages, delete them all, then reinstall from that list. The portmaster man page shows a procedure for this, but it has not (yet) been updated for use with pkg. An updated version is here: https://forums.freebsd.org/threads/rebuilding-all-ports-with-portmaster.51210/ Yes, a PR has been submitted to update the portmaster man page: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191166