From owner-freebsd-ports Tue Jun 4 7:50:59 2002 Delivered-To: freebsd-ports@freebsd.org Received: from moutvdomng1.kundenserver.de (moutvdomng1.kundenserver.de [195.20.224.131]) by hub.freebsd.org (Postfix) with ESMTP id 4776937B405; Tue, 4 Jun 2002 07:50:48 -0700 (PDT) Received: from [172.19.20.63] (helo=mrvdomng2.kundenserver.de) by moutvdomng1.kundenserver.de with esmtp (Exim 3.22 #2) id 17FFdp-0000DT-00; Tue, 04 Jun 2002 16:50:33 +0200 Received: from [217.1.114.40] (helo=pD9017228.dip.t-dialin.net) by mrvdomng2.kundenserver.de with esmtp (Exim 3.22 #2) id 17FFdo-0000wg-00; Tue, 04 Jun 2002 16:50:32 +0200 Date: Tue, 4 Jun 2002 16:50:05 +0000 (GMT) From: Peter Ulrich Kruppa To: Eugene Panchenko Cc: , Subject: Re: How to remove ALL ports at once? In-Reply-To: Message-ID: <20020604163950.U87907-100000@small.pukruppa.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 > 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, r= ight now I have three versions of gettext, different iconv libraries and ut= ils (biconv and iconv), QT toolkits of several versions - all with overlapp= ing 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?? > > 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. Everything you installed via ports or pkg_add can be deinstalled and deleted by # pkg_delete -rf * If you like, you may also remove your complete ports directory and cvsup to the latest version. If not you can #cd /usr/ports # make clean (will take some hours) Good luck :-) Uli. > > Thank you all in advance. > > -- Eugene > > P/S - corry for x-posting, I dont know where this is more correct to send= =2E.. > ____________________________________________________________ > =EE=CF=D7=CF=C5 =CE=C1 =EE=E7=F3: > http://ngs.ru/icq - Web =D7=C5=D2=D3=C9=D1 ICQ. > http://ngs.ru/chat - =E5=DD=A3 =CF=C4=C9=CE =DE=C1=D4. > ____________________________________________________________ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > *-----------------------------------* * Peter Ulrich Kruppa * * - Wuppertal - * * Germany * *-----------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message