From owner-freebsd-questions Tue Jun 4 1:42:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id BA2C537B40E for ; Tue, 4 Jun 2002 01:42:36 -0700 (PDT) Received: from hades.hell.gr (patr530-a239.otenet.gr [212.205.215.239]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g548gV1S020710; Tue, 4 Jun 2002 11:42:32 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g548gVVX003891; Tue, 4 Jun 2002 11:42:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g548gUTN003890; Tue, 4 Jun 2002 11:42:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 4 Jun 2002 11:42:30 +0300 From: Giorgos Keramidas To: Eugene Panchenko Cc: questions@FreeBSD.ORG Subject: Re: How to remove ALL ports at once? Message-ID: <20020604084230.GD3351@hades.hell.gr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ Cc: list trimmed. The -ports list is not for general questions. ] On 2002-06-04 15:21 +0700, Eugene Panchenko wrote: > Hallo, > > I have a small question, but it is important for me to know. I had > been using my system for a long time, and without portupgrading my > ports. So, right now I have three versions of gettext, different > iconv libraries and utils (biconv and iconv), QT toolkits of several > versions - all with overlapping files in +CONTENTS, so I cant just > pkg_delete them. > > So my question is: can I do this: > > 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?? Seems ok. > 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. No, the base system shouldn't have parts of it installed in /usr/local. You can safely wipe /usr/local away, if you want to start with a clean base and install only those ports you need. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message