Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Sep 2007 11:00:46 -0500
From:      Jeffrey Goldberg <jeffrey@goldmark.org>
To:        Pollywog <lists-fbsd@shadypond.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: snapshot is corrupt
Message-ID:  <6B374C03-D48B-4353-AA24-D58BDC104B69@goldmark.org>
In-Reply-To: <200709081510.41633.lists-fbsd@shadypond.com>
References:  <C51E811F-F297-44C6-AD33-2AE857F83B33@goldmark.org> <200709081510.41633.lists-fbsd@shadypond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 8, 2007, at 10:10 AM, Pollywog wrote:

>
> This is what I would do...
>
> as root,
>
> cd /usr/ports/
>
> rm -rf *  (make sure you are in /usr/ports/ when you do this)

Safer would probably be

  rm -rf /usr/ports/
  mkdir /usr/ports

> portsnap fetch  (this will take a while)
>
> portsnap extract
>
> After that, you only need to do 'portsnap update' when you want to  
> update the
> ports and it should not take too long if you have updated them  
> recently.

Ah.  I somehow over looked the "update" portsnap command.  Thank you.

-j


-- 
Jeffrey Goldberg                        http://www.goldmark.org/jeff/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B374C03-D48B-4353-AA24-D58BDC104B69>