From owner-freebsd-questions@FreeBSD.ORG  Wed Jun 23 04:51:40 2004
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1F06E16A4CE
	for <freebsd-questions@freebsd.org>;
	Wed, 23 Jun 2004 04:51:40 +0000 (GMT)
Received: from smtp.owt.com (smtp.owt.com [204.118.6.19])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C1E6343D5F
	for <freebsd-questions@freebsd.org>;
	Wed, 23 Jun 2004 04:51:39 +0000 (GMT)
	(envelope-from kstewart@owt.com)
Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233])
	by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i5N4owco019659;
	Tue, 22 Jun 2004 21:50:59 -0700
From: Kent Stewart <kstewart@owt.com>
To: freebsd-questions@freebsd.org
Date: Tue, 22 Jun 2004 21:51:15 -0700
User-Agent: KMail/1.6.2
References: <20040622220538.34e5e5a5@localhost>
	<200406222127.02481.mnavarre@cox.net>
In-Reply-To: <200406222127.02481.mnavarre@cox.net>
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200406222151.15101.kstewart@owt.com>
Subject: Re: cvsup and ports INDEX
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2004 04:51:40 -0000

On Tuesday 22 June 2004 09:27 pm, Matt Navarre wrote:
> On Tuesday 22 June 2004 07:05, epilogue@allstream.net wrote:
> > hello all,
> >
> > Connecting to cvsup.ca.FreeBSD.org
> > Connected to cvsup.ca.FreeBSD.org
> > Server software version: SNAP_16_1e
> > Negotiating file attribute support
> > Exchanging collection information
> > Establishing multiplexed-mode data connection
> > Running
> > Updating collection ports-all/cvs
> >  Checkout ports/INDEX             <<<<<<< how is this different
> > from...
>
> This checks out the new ports text file.
>
> > # portsdb -Uu                          <<<<<<< ...this?
>
> This builds INDEX.db, which is all the ports/dependency information
> in the format that portupgrade(and others?) uses so it can get all
> the right ports when you install something.
>
> > i'm not sure i have a firm grasp of why i do both.  are they
> > complimentary or redundant steps?  could someone please clarify or
> > point me to right set of docs?
>
> They're complimentary, portsdb -uU doesn't really do anything unless
> you have a new /usr/ports/INDEX or /usr/ports/INDEX.db got hosed.

This isn't true. Portsdb -U creates a brand new INDEX using your 
current /usr/ports and -u uses that to generate a new INDEX.db

Kent

>
> > hello ken,
> >
> > thought that you might be able to help because of your reply on
> > http://lists.freebsd.org/pipermail/freebsd-ports/2004-June/013223.h
> >tml
> >
> >
> > thanks,
> > epi
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html