Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 16:50:05 +0000 (GMT)
From:      Peter Ulrich Kruppa <root@pukruppa.de>
To:        Eugene Panchenko <replicator@ngs.ru>
Cc:        <questions@FreeBSD.ORG>, <ports@FreeBSD.ORG>
Subject:   Re: How to remove ALL ports at once?
Message-ID:  <20020604163950.U87907-100000@small.pukruppa.de>
In-Reply-To: <web-24865106@intranet.ru>

index | next in thread | previous in thread | raw e-mail

> 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??
>
> 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...
> ____________________________________________________________
> Новое на НГС:
> http://ngs.ru/icq - Web версия ICQ.
> http://ngs.ru/chat - Ещё один чат.
> ____________________________________________________________
>
>
>
> 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-questions" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604163950.U87907-100000>