Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 11:30:57 +0300 (EEST)
From:      Alexander V Zubchenko <stalker@hermes-comp.zp.ua>
To:        Eugene Panchenko <replicator@ngs.ru>
Cc:        <questions@FreeBSD.ORG>, <ports@FreeBSD.ORG>
Subject:   Re: How to remove ALL ports at once?
Message-ID:  <20020604112449.V33755-100000@server.hermes-comp.zp.ua>
In-Reply-To: <web-24865106@intranet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings!

On Tue, 4 Jun 2002, 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??
>
> 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.
>
> 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-questions" in the body of the message
>

afaik, this is possible, but some pkg's may add users/groups for their
special purposes and some of them may add files into your var directory
and/or made some other changes. In general this is networking utilities,
RDBMS, mailers. E.g., qmail install itself into /var/qmail directory.
So You may want to check this. I'm running FreeBSD-4.3 and X11R6 4.2.0,
and XF86Config is stored in /etc/X11. Check this also. Then, as i said
above, afaik, you may proceed in your way. But, and, imho, this is
important, i don't remember, what was in /usr/local after system install,
but before ports collection was used at all. There was directory structure
but i can't b sure about plain files.

With best wishes and always at your service, Stalker.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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