From owner-freebsd-questions@FreeBSD.ORG Sun Nov 5 21:57:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B37D216A415 for ; Sun, 5 Nov 2006 21:57:12 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFED743D45 for ; Sun, 5 Nov 2006 21:57:11 +0000 (GMT) (envelope-from josh.carroll@gmail.com) Received: by nf-out-0910.google.com with SMTP id i2so2300565nfe for ; Sun, 05 Nov 2006 13:57:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=DcuvQGqIMMq04k8Ng2Flv8npXz8AVyKcBOtRPCgLheGxDcpuclsoa6s8ntte+eAaxjWGqRyD+vlzLx3DnJQfT+juQBuJ4sO2C01RHZ8M8IExUDmH3t+1PyrA70m92zvpE96KIMN+jRRAvwOSwU3DWLfttlck6JnEQZda4ctwl+g= Received: by 10.82.142.9 with SMTP id p9mr1160741bud.1162763830321; Sun, 05 Nov 2006 13:57:10 -0800 (PST) Received: by 10.82.163.16 with HTTP; Sun, 5 Nov 2006 13:57:10 -0800 (PST) Message-ID: <8cb6106e0611051357w26081c30i843f8721a8a5a3e7@mail.gmail.com> Date: Sun, 5 Nov 2006 13:57:10 -0800 From: "Josh Carroll" Sender: josh.carroll@gmail.com To: "Simon Gao" In-Reply-To: <454E5D18.7040706@schrodinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <454E5D18.7040706@schrodinger.com> X-Google-Sender-Auth: f591bde34ec3058d Cc: freebsd-questions@freebsd.org Subject: Re: Cleanly remove a package 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: Sun, 05 Nov 2006 21:57:12 -0000 > When upgrading a package say vsftpd, I used port install. After newer > version is installed, I have both newer and older versions being listed > if run pkg_info. The newer version works fine. You can use portupgrade instead, which should deinstall the old version, then install the new one. You can't install the new one before the old one, so there will be a brief period of time between the make deinstall and make reinstall that it may not be available. Also keep in mind, if you are upgrading something like mysql, you should update pkgtools.conf to restart it afterwards to minimize down time (and so you don't have to remember to restart it). You can look for the AFTERINSTALL section in pkgtools.conf for how to do this. Josh