From owner-freebsd-ports@FreeBSD.ORG Wed May 2 02:05:06 2007 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DABF616A402 for ; Wed, 2 May 2007 02:05:06 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id BAC3213C4AD for ; Wed, 2 May 2007 02:05:06 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l42256dm008150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 1 May 2007 19:05:06 -0700 X-Auth-Received: from [192.168.10.45] (c-67-187-164-17.hsd1.ca.comcast.net [67.187.164.17]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l42255Pd030324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 1 May 2007 19:05:06 -0700 Message-ID: <4637F1F7.9010504@u.washington.edu> Date: Tue, 01 May 2007 19:05:43 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <20070429131345.GA19361@obelix.dsto.defence.gov.au> <463785BA.1090808@FreeBSD.org> <4637EF68.6070000@u.washington.edu> <20070502015855.GF19868@obelix.dsto.defence.gov.au> In-Reply-To: <20070502015855.GF19868@obelix.dsto.defence.gov.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.1.184434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_SUBJ_9 0, __USER_AGENT 0' Cc: Subject: Re: ports_glob(1): Updating the portsdb - Updating EVERY time ! ... Why ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 02:05:06 -0000 Wilkinson, Alex wrote: > 0n Tue, May 01, 2007 at 06:54:48PM -0700, Garrett Cooper wrote: > > >INDEX-7.db isn't located in /var/tmp though by default >_>.. > > Ok, thats what it is then. Simple question: > > How would it have ended up in there ? > If I remove it and do a pkgdb -u It puts it back there. > > -aW Well, you might have found a bug in the script, but then again it could be user error. Corollary to the above statement: IIRC the .db file(s) automatically gets put in /var/tmp if you _don't_ have write access to the file(s). Make sure you're running pkgdb as root. Did you set any variables set in your system wide profile that start with PKG*?