From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 16:14:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A509216A41A for ; Mon, 5 Nov 2007 16:14:37 +0000 (UTC) (envelope-from donovan@dmpnet.org) Received: from mazar.dmpnet.org (mazar.dmpnet.org [87.127.11.92]) by mx1.freebsd.org (Postfix) with ESMTP id 5A48E13C4B7 for ; Mon, 5 Nov 2007 16:14:37 +0000 (UTC) (envelope-from donovan@dmpnet.org) Received: from DonovansLaptop (ibm-laptop.dmpnet.org [192.168.67.101]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mazar.dmpnet.org (Postfix) with ESMTP id C4BC6A198; Mon, 5 Nov 2007 15:29:06 +0000 (GMT) Message-ID: <002001c81fc0$9e8271f0$6543a8c0@DonovansLaptop> From: "Donovan R. Palmer" To: "Warren Block" , References: <20071105135017.76a2c48a@meijome.net><20071105070952.50ba2f37@epia-2.farid-hajji.net><000c01c81f93$344c2c40$6543a8c0@DonovansLaptop> <20071105055724.N17994@wonkity.com> Date: Mon, 5 Nov 2007 15:29:12 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Cc: Subject: Re: portupgrade questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 16:14:37 -0000 > The thing you should be doing first is checking /usr/ports/UPDATING. Major > things can change, and portupgrade may not be able to handle them without > help. Ah, i c. I am starting to make sense out of some of this from my fighting around on this. > The "-f" option to pkg_delete/pkg_deinstall will force it to do the > action, even if there are dependencies. Sometimes it's the only way. > > There's also the -o option to portupgrade. > > As for a tutorial: first, check UPDATING. Then the command man page. If > necessary, a web search. I have done some web searching, but haven't found anything that has everything in one place (including the Handbook). Once I emerge from all of this, I might take a stab at writing up something for N00bs to help them learn some of the things that I have figured out the hard way > I can't remember what I did for this particular upgrade, but do remember > deleting some of the older autoconf ports manually. I suspect you could > delete all of them (and maybe some or all of the automake ports) and then > just deinstall and install autotools. (Like pkg_delete -f, "make > deinstall" in a port will ignore dependencies and just go ahead.) > > After you do all that, you'll probably need to run pkgdb -F to fix or at > least check dependencies. Very helpful! Thanks!