From owner-freebsd-questions@freebsd.org Fri Jul 3 04:31:04 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 E8C8A994EC3 for ; Fri, 3 Jul 2015 04:31:04 +0000 (UTC) (envelope-from cary@sdf.org) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by mx1.freebsd.org (Postfix) with ESMTP id B4AB7157B for ; Fri, 3 Jul 2015 04:31:04 +0000 (UTC) (envelope-from cary@sdf.org) Received: from [67.49.10.59] ([67.49.10.59:54713] helo=bsdstb.Belkin.invalid) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id D5/B1-09573-FFF06955; Fri, 03 Jul 2015 04:30:55 +0000 From: Cary To: "William F. Dudley Jr." Cc: kpneal@pobox.com, freebsd-questions@freebsd.org Subject: Re: portmaster -af fails due to dead port - HELP In-Reply-To: <5595FC4A.6020402@gmail.com> (wfdudley@gmail.com) Date: Thu, 02 Jul 2015 21:30:54 -0700 Message-ID: <86h9plsw01.fsf@bsdstb.Belkin> MIME-Version: 1.0 Content-Type: text/plain X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 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 04:31:05 -0000 "William F. Dudley Jr." writes: > On 07/02/2015 10:35 PM, kpneal@pobox.com wrote: >> On Thu, Jul 02, 2015 at 05:20:19PM -0400, William Dudley wrote: >>> I don't understand if this is a problem with arj or autoconf, but I don't >>> want to delete arj, because >>> other packages depend on it, and I don't want to delete them. I tried "pkg >>> lock arj" and that didn't >>> seem to do anything, in that portmaster -af still wants to upgrade arj. >>> >>> Now what? How do I get portmaster -af to ignore arj? Or how do I fix >>> whatever the complaint is >>> about arj? >> I haven't been following this thread closely, but I wanted to ask: Is there >> a good reason to use portmaster? >> >> With pkg it is easy to get and use binary packages. >> >> And with poudriere it is fairly straightforward to do bulk builds of >> packages without touching your regular installed system. It even lets you >> use custom options for particular ports if you like. >> >> I've started updating /usr/ports, running poudriere, and then upgrading >> with pkg all daily. It's much more reliable than messing with the installed >> software I'm currently attempting to use while upgrading it. >> > The reason I'm going through this pain is because I'm following the > instructions here: > > 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. > > I'd just as soon replace all the ports that I've built with pre-built > packages; this is so much > more complicated than updating packages on Linux, where it's absolutely > trivial. But I like > having a FreeBSD machine as mail and web server, so I stick with it > despite the difficulty. > > Is there a *simple* way to just replace all the ports I've built with > the packaged equivalents? > > Right now I can't get past this: > > prompt> portmaster -af -x arj -x faad2 -x libutempter -x ruby -x tcl > > > > ===>>> Returning to update check of installed ports > > ===>>> No origin available for tcl~pkg-renamed~9E62-8.4.19_3,1 > > > ===>>> Cannot continue > ===>>> Aborting update > > and it craps out complaining about tcl, even though I told it to ignore > tcl. And I pkg deleted > tcl and tk. And still it complains about tcl. > > Bill Dudley > > > _______________________________________________ Hi Bill. Looking at the man page for pkg-delete prompt> man pkg-delete it shows the command accepts glob patterns. To delete the tcl package you might try prompt> pkg delete -f -g tcl\* Cary