From owner-freebsd-questions@FreeBSD.ORG Mon Aug 6 05:28:43 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D375316A418 for ; Mon, 6 Aug 2007 05:28:43 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.freebsd.org (Postfix) with ESMTP id 8BCBC13C459 for ; Mon, 6 Aug 2007 05:28:43 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1043413wxd for ; Sun, 05 Aug 2007 22:28:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=SgMHCTEmjWdyQ12BkkUuGYtYk77Vxu78Cxq+F9JVYKpcg6jJ2plim1RFJ/9ClfdjU894mfLmdRdfR9uD9tRupLyREUeMeWPahBMzXBXxrZKXDD/ZSqbj2FhXcKqh8OZLTnTk1xB0RWBqqa1/VJFgYTkPdsyu8zF8lrxJxCsRddk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:x-x-sender:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type:from:sender; b=DtZrZZvwkyC4EGDJR6WPS9EzFOUtY+tGMYLG+YuM8hUoDbev10aMpJ/Sout3sKNnKAGMRfbPsYTvDZrQ3Z+f53A8i76aYLnr6DzUMN0IDu3ERxHi+I9VEWPKQ4hPT5Uzh5aa6frq5UrkWC9dFZR5/nxt5gbI604592eBKoV18uU= Received: by 10.70.80.6 with SMTP id d6mr9182590wxb.1186378122202; Sun, 05 Aug 2007 22:28:42 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.137.21]) by mx.google.com with ESMTPS id v26sm6707223ele.2007.08.05.22.28.36 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Aug 2007 22:28:41 -0700 (PDT) Received: from obelix.home.rakhesh.com (obelix.home.rakhesh.com [192.168.17.13]) by smtp.home.rakhesh.com (Postfix) with ESMTP id D5FF811420; Mon, 6 Aug 2007 08:59:57 +0400 (GST) Date: Mon, 6 Aug 2007 08:59:36 +0400 (GST) X-X-Sender: rakhesh@obelix.home.rakhesh.com To: "Arend P. van der Veen" In-Reply-To: <46B5E0F8.7050405@att.net> Message-ID: <20070806083111.F74284@obelix.home.rakhesh.com> References: <46B5E0F8.7050405@att.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: freebsd-questions@freebsd.org Subject: Re: portsdb and cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 05:28:43 -0000 On Sun, 5 Aug 2007, Arend P. van der Veen wrote: > The approach that I had been using was: > > /usr/local/bin/cvsup -L 0 /usr/sup/supfile > /usr/local/sbin/portsdb -Uu > > This had worked great until the emacs22 update. Now portsdb crashes due to > the emacs entry in /etc/make.conf. However, I see very little chatter on the > lists about this. I have started to wonder if the bulk of the community may > be updating their ports differently. Upon some limited research I found that > I could use: > > /usr/local/bin/cvsup -L 0 /usr/sup/supfile > /usr/local/sbin/portsdb -Fu > > This work fine for me. I can then use tools such as pkg_version, pkg_delete, > portinstall and portupgrade without any problems. > > My open ended question is what does the rest of the community do to update > their ports collection? > I don't run portsdb at all. :) What I figured from the portsdb manpages is that if you don't run it manually then it gets run upon using one of the portupgrade tools. I don't mind the 30s or so delay that causes and so I don't run portsdb manually. During my first few days with FreeBSD, however, I used to run ''portsdb -Fu''. My understanding is that that would fetch the INDEX-6 and update INDEX-6.db (since I am on FreeBSD 6.x) but I don't see why I should do this coz the INDEX files are updated when I update the ports tree anyways! (If I have understood this incorrectly, someone please correct me). I tried ''portsdb -Uu'' just once. To see what it does. Took a long time and so I never tried it again. From the manpage I understand that it creates/ updates the INDEX files by running the ''make index'' command, but the reasoning behind that didn't make sense to me ... So that's my story. Regards, Rakhesh