From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 15:26:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E71E16A4CF for ; Fri, 23 Apr 2004 15:26:53 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id C299843D45 for ; Fri, 23 Apr 2004 15:26:52 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (sccrmhc13) with ESMTP id <2004042322265201600ctr1je>; Fri, 23 Apr 2004 22:26:52 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id D9F2A12; Fri, 23 Apr 2004 18:26:51 -0400 (EDT) Sender: lowell@be-well.ilk.org To: questions@freebsd.org References: <002301c42946$4207bf30$2804320a@cchang> <20040423154505.GA8710@rucus.ru.ac.za> <40897901.7050103@ctzen.com> <16521.34609.737928.742170@jerusalem.litteratus.org> From: Lowell Gilbert Date: 23 Apr 2004 18:26:51 -0400 In-Reply-To: <16521.34609.737928.742170@jerusalem.litteratus.org> Message-ID: <44isfq1gb8.fsf@be-well.ilk.org> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: upgrade a port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 22:26:53 -0000 Robert Huff writes: > Chiang Seng Chang writes: > > > portupgrade wont work because ver 22 was not installed in the > > first place. > > > > pkg_deinstall ver 21 wont work because there are dependencies. > > > > portinstall ver 22 wont work because ver 21 is there. > > > > how do i get out of this catch-22 ? > > pkg_delete -f > pkgdb -F # just to be sure > portinstall > > (Crude, but effective.) Slightly less crude would be something like portupgrade -o -f