From owner-freebsd-questions@FreeBSD.ORG Wed Dec 2 11:48:54 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 67708106566B for ; Wed, 2 Dec 2009 11:48:54 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2767D8FC13 for ; Wed, 2 Dec 2009 11:48:54 +0000 (UTC) Received: from r55.edvax.de (port-92-195-228-22.dynamic.qsc.de [92.195.228.22]) by mx01.qsc.de (Postfix) with ESMTP id 9B6763CD59; Wed, 2 Dec 2009 12:48:51 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nB2BmoOF001511; Wed, 2 Dec 2009 12:48:51 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 2 Dec 2009 12:48:50 +0100 From: Polytropon To: Patrick Lamaiziere Message-Id: <20091202124850.6774dba3.freebsd@edvax.de> In-Reply-To: <20091202110150.180c845e@baby-jane.lamaiziere.net> References: <20091202071508.GA1869@thought.org> <20091202110150.180c845e@baby-jane.lamaiziere.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Gary Kline , FreeBSD Mailing List Subject: Re: which is the better way...? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 11:48:54 -0000 On Wed, 2 Dec 2009 11:01:50 +0100, Patrick Lamaiziere wrote: > Le Tue, 1 Dec 2009 23:15:11 -0800, > Gary Kline a =E9crit : > =20 > > it is better to pkg_delete OOo-301 or just cd to /usr/local and > > /bin/rm -r it from there? this time i'll make a not of the preferred > > way of cleaning out the old stuff.. >=20 > You should use pkg_delete to remove an installed port. > It removes the program, the doc, ..., but also entries in the pakage > database (/var/db/pkg/). Anbd if there's still stuff in the installed ports directory left over - pkg_delete will inform you about that - you can still use rm -r for a complete delete; anyway, pkg_delete should be the first step. If you use portupgrade, you should additionally run "pkgdb -aF" after using pkg_delete, so its package database keeps being up to date. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...