From owner-freebsd-ports Tue Jun 4 5:40:59 2002 Delivered-To: freebsd-ports@freebsd.org Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218]) by hub.freebsd.org (Postfix) with ESMTP id 9771D37B42A for ; Tue, 4 Jun 2002 05:40:50 -0700 (PDT) Received: (from tilman@localhost) by 21322530218.direct.eti.at (8.11.6/8.11.6) id g54ClZm85024; Tue, 4 Jun 2002 14:47:35 +0200 (CEST) (envelope-from tilman) Date: Tue, 4 Jun 2002 14:47:34 +0200 From: Tilman Linneweh To: Eugene Panchenko Cc: freebsd-ports@freebsd.org Subject: Re: How to remove ALL ports at once? Message-ID: <20020604144734.A84999@huckfinn.arved.de> Reply-To: e0025974@student.tuwien.ac.at References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In arved.freebsd.ports, you wrote: > > 1) Backup all I needed ~/.app_i_use/ directories > 2) Backup all I needed /usr/local/etc/* and /usr/local/etc/rc.d/* > 3) rm -fr /usr/local/* > 4) Backup mine /usr/X11R6/lib/X11/XF86Config > 5) rm -fr /usr/X11R6/ > 6) rm -fr /var/db/pkg/* > > And start with clean, base system again, just after installing FreeBSD from the beginning?? > > This is very important for me to know how I can remove EVERYTHING that got on my hardrive from ports, and not to touch BASE system at all. Have you tried pkgdb -F (I think it is part of sysutils/portupgrade). It will detect duplicate versions of installed pkges and remove the older one without removing the files of the newer one. regards arved To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message