From owner-freebsd-questions@FreeBSD.ORG Sun Apr 20 20:21:15 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 2D56037B401 for ; Sun, 20 Apr 2003 20:21:15 -0700 (PDT) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id EDD7643F85 for ; Sun, 20 Apr 2003 20:21:13 -0700 (PDT) (envelope-from lahaye@users.sourceforge.net) Received: (snipe 29714 invoked by alias); 21 Apr 2003 03:31:23 -0000 Received: from lahaye@users.sourceforge.net with Spamsniper2.0 (Processed in 0.136097 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 21 Apr 2003 03:31:23 -0000 X-RCPTTO: freebsd-questions@freebsd.org, Received: from users.sourceforge.net ([147.46.44.183]) by sis1.snu.ac.kr (v3smtp 8.11.6.8/8.11.1) with ESMTP id h3L3KBR288680 for ; Mon, 21 Apr 2003 12:20:11 +0900 Message-ID: <3EA363F0.1020900@users.sourceforge.net> Date: Mon, 21 Apr 2003 12:22:24 +0900 From: Rob Lahaye User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030215 X-Accept-Language: en-us, en, ko-kr MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: How to savely upgrade software from ports? 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: Mon, 21 Apr 2003 03:21:15 -0000 I'm having trouble how to savely upgrade software to newer version in the ports. For example, "pkg_version -v | grep -v =" tells me: linux_base-7.1_2 < needs updating (port has 7.1_3) I see two options, for this example: 1) simply install 7.1_3 *without* deleting 7.1_2. 2) delete with "-f" 7.1_2 and then install 7.1_3. (this is what the "pkg_version -c" output suggests). Can someone tell me what are the pros and cons? Is there another (safer) way of upgrading? Thanks, Rob.