Date: Wed, 2 Dec 2009 12:48:50 +0100 From: Polytropon <freebsd@edvax.de> To: Patrick Lamaiziere <patfbsd@davenulle.org> Cc: Gary Kline <kline@thought.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: which is the better way...? 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2 Dec 2009 11:01:50 +0100, Patrick Lamaiziere <patfbsd@davenulle.or= g> wrote: > Le Tue, 1 Dec 2009 23:15:11 -0800, > Gary Kline <kline@thought.org> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091202124850.6774dba3.freebsd>