Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 13:39:12 -0400
From:      Louis LeBlanc <FreeBSD@keyslapper.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Removing the ports dir to start all over
Message-ID:  <20040818173912.GA70638@keyslapper.org>
In-Reply-To: <ff3ca390a8a8f16a2f5f8a.20040818102245.wzyrjvf@www.dslextreme.com>
References:  <ff3ca390a8a8f16a2f5f8a.20040818102245.wzyrjvf@www.dslextreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/18/04 10:22 AM, Joshua Lewis sat at the `puter and typed:
> I ran a cvsup this morning and now when running a make index I get several
> errors. I also am getting several errors when running a make search
> key=mono |more
> 
> I figured I would just clean out the ports dir and start over. However I
> don't want to go though and remove everyfile and ever dirrectory from the
> ports tree. And the man for rmdir only has a -p switch.

Not sure what the question is, but I gather you're looking for the
remove recursive?

Be careful with this one:
rm -rf <whatever>

Just don't use '*' for <whatever>.  If you inadvertently use that from
the wrong place, you'll loose a lot more than you bargained for.

Before you do that though, just go to the ports directory and type:
make fetchindex
which will go get an updated INDEX file.

I also seem to remember there is a problem rebuilding the index when
you have ports subdirectories in the refuse file.  I had a similar
problem in 5.2.1, but I don't remember ever rebuilding the index in
4.10.

HTH

Lou
-- 
Louis LeBlanc               FreeBSD@keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ

Mencken and Nathan's Second Law of The Average American:
  All the postmasters in small towns read all the postcards.



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