From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 12:58:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 804B91065670 for ; Sun, 14 Jun 2009 12:58:47 +0000 (UTC) (envelope-from hartkemd@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0038FC0A for ; Sun, 14 Jun 2009 12:58:47 +0000 (UTC) (envelope-from hartkemd@gmail.com) Received: by qyk3 with SMTP id 3so4229639qyk.3 for ; Sun, 14 Jun 2009 05:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Nki/6Kvpjm4nQOKmkPcshwwcph3rhdpBXNEKNOnTp/E=; b=SxX8F/nrR7ymNOTUrj0Yi7ow27HAAErkSeceCek7wdBP3F74ZP1y25FW6zyxyzukjB vEkx+HwCGgOpp8A6bH4/ANVwb6Jx1voqPRkvLB33bRGp3TueJ/TMDhgqn1nlmmxRkiLx icYeZLO9eNzRBIrl7mKpXd+6O9/Jn7U5d6UhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=W/hYlY8mj/fkPx3x3Lnfws1zNx8JmGvOf8OgK3R+RixQ1lKmY98zEmnTy4vviYkfMh b47/wn3JsWmghWGzJCoXjFAAg9LdJ5Z1cpb5nHd8bZxXQZVkohrkklRFYBQWqameXfTC R0PGx7/cIdyTkjDpb/zc8fvFWiE7Uf69MF1LA= MIME-Version: 1.0 Received: by 10.229.80.78 with SMTP id s14mr1156975qck.101.1244984326683; Sun, 14 Jun 2009 05:58:46 -0700 (PDT) Date: Sun, 14 Jun 2009 08:58:46 -0400 Message-ID: <4096aedd0906140558x5ad1b562h2c43a0b36051a40e@mail.gmail.com> From: Mark Hartkemeyer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: what is the best way to remove a program? 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, 14 Jun 2009 12:58:48 -0000 I was installing the mysql51-server port and I had a message that the install could not proceed, because mysql50-client was already installed. I simply ran a "cd" and then a "make deinstall" in the mysql50-client directory. Is this is the best way to remove a program? Does it depend on how the program was added (compiled versus prebuilt binary added with pkg_add -r)? I've tried pkg_delete in the past, but it seems to always complain about dependencies and not actually remove the program. Thanks, Mark Hartkemeyer