From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 18:29:02 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 666FE16A4B3 for ; Thu, 2 Oct 2003 18:29:02 -0700 (PDT) Received: from fep3.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6997843F93 for ; Thu, 2 Oct 2003 18:29:01 -0700 (PDT) (envelope-from bbobowski@cogeco.ca) Received: from d150-57-33.home.cgocable.net (d150-57-33.home.cgocable.net [24.150.57.33]) by fep3.cogeco.net (Postfix) with ESMTP id 4EA731316; Thu, 2 Oct 2003 21:29:00 -0400 (EDT) From: Brian Bobowski To: Jud , SoloCDM , "FreeBSD-Questions (Request)" Date: Thu, 2 Oct 2003 21:28:42 -0400 User-Agent: KMail/1.5.3 References: <200310021459.h92Exhbn017254@clunix.cl.msu.edu> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310022128.42910.bbobowski@cogeco.ca> Subject: Re: FreeBSD vs. RedHat 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, 03 Oct 2003 01:29:02 -0000 On October 2, 2003 08:57 pm, Jud wrote: > There are several ways you can do this. There's pkg_delete for packages, > 'make deinstall clean' for ports, and for deleting an older version of a > port to replace it with a newer one, there's the intelligent and lovely > 'portupgrade.' (The upgrade can be for one port, that port plus all > dependencies, or even all your installed ports, just by setting various > single-letter portupgrade options that are clearly spelled out in the man > page.) It might be noted that 'make deinstall' (with or without clean/distclean) doesn't unregister the port; you still have to use pkg_delete for that. The 'make deinstall' rule for ports seems to be more for upgrading than for actual deletion. (Witness the fact that, for pkg_delete, you have to specify a force option to remove a package that has dependencies, but make deinstall warns you and removes it anyway.) Too, you can't make deinstall if you've already made clean. The portupgrade package does include a number of nice utilities, though, that manage packages a little better than the default, it seems. -BB