Re: Removing the ports dir to start all over

2004-08-18 Thread R. W.
On Wednesday 18 August 2004 18:22, Joshua Lewis wrote:
> I ran a cvsup this morning and now when running a make index I get
> several errors.

So did I, but I ran it again this evening and the problems went away.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Removing the ports dir to start all over

2004-08-18 Thread Björn Lindström
Louis LeBlanc <[EMAIL PROTECTED]> writes:

> Be careful with this one:
> rm -rf 

Actually, _not_ getting into the habit of always using -f with -r is a
good plan.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Removing the ports dir to start all over

2004-08-18 Thread Louis LeBlanc
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 

Just don't use '*' for .  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   [EMAIL PROTECTED]
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.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"