From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 08:18:41 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 25E0016A53E for ; Fri, 23 Apr 2004 08:18:41 -0700 (PDT) Received: from smtp2.experience.com (shields.experience.com [64.94.244.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F36A243D2D for ; Fri, 23 Apr 2004 08:18:40 -0700 (PDT) (envelope-from cs@ctzen.com) Received: from cchang (rpaushter.experience.com [10.50.4.40]) by smtp2.experience.com (Postfix) with SMTP id 78D9F9AB11 for ; Fri, 23 Apr 2004 11:18:40 -0400 (EDT) Message-ID: <002301c42946$4207bf30$2804320a@cchang> From: "Chiang Seng Chang" To: Date: Fri, 23 Apr 2004 11:18:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: 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 15:18:41 -0000 currently i have openldap client 2.1 installed. $ pkg_glob -r openldap-client-2.1.30 openldap-client-2.1.30 kdeutils-3.2.2 kdebase-3.2.2 kdenetwork-3.2.2 kdegraphics-3.2.2 kdegames-3.2.2 kdelibs-3.2.2 gnupg-1.2.4_1 samba-3.0.3.p2_1,1 if i want to use version 2.2, do i just simply: > pkg_deinstall openldap-client-2.1.30 > portinstall net/openldap22-client i suspect step 1 would fail because there are dependency, or switching them around would work ? as in: $ portinstall net/openldap22-client $ pkg_deinstall openldap-client-2.1.30 -cs