From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 10:41:58 2003 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 8D08916A4B3 for ; Fri, 24 Oct 2003 10:41:58 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE0443FCB for ; Fri, 24 Oct 2003 10:41:56 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AD5wg-0004ZF-00 for ; Fri, 24 Oct 2003 19:41:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AD5wf-0004Z7-00 for ; Fri, 24 Oct 2003 19:41:53 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AD5wf-0007sU-00 for ; Fri, 24 Oct 2003 19:41:53 +0200 From: Jesse Guardiani Date: Fri, 24 Oct 2003 13:41:53 -0400 Organization: WingNET Lines: 46 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: portupgrade auto deinstall+reinstall? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 17:41:58 -0000 Howdy list, Sorry if this is an obvious question, but I didn't find anything in the portupgrade manpage. I'm in the process of upgrading the ports on my 5.1-RELEASE laptop, and I just executed the following command: portupgrade -R 'grip*' And it's giving me the following message: ---------------------------------------------- ===> Checking if x11/libgnome already installed ===> An older version of x11/libgnome is already installed (libgnome-2.2.0.1) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of x11/libgnome without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/x11/libgnome. *** Error code 1 ------------------------------------------------ Now, I know how to get around this manually: pkg_delete -f 'libgnome-*' And then rerun `portupgrade -R 'grip*'`. However, is there a way to automate this process? It's happened three times already on this one port, and I'm getting a bit annoyed. I was hoping it would be done the first time I came back from lunch. :) Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net