From owner-freebsd-questions@FreeBSD.ORG Sun Jul 29 11:41:26 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 EF0E216A419 for ; Sun, 29 Jul 2007 11:41:26 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by mx1.freebsd.org (Postfix) with ESMTP id AC8A113C428 for ; Sun, 29 Jul 2007 11:41:26 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1021529wxd for ; Sun, 29 Jul 2007 04:41:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:message-id:in-reply-to:references:date:subject:to:user-agent:mime-version:content-type:content-transfer-encoding:x-priority:importance:from:sender; b=H1siflIzu3+OKgdFS/bqHPXncEubIJj64w5F6R1F217SSYDm/Lr/6WvGWVxzspcA7yLKz3ZW/J7M0cArWrsyhtryGuI8nB0g2rU9dWpq9fTFHRrB1HfH3IR4AoYCqcFLcnARYoPZZ5+heD6/WRQb1n5jJPu7THC7996FTlMiE+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:in-reply-to:references:date:subject:to:user-agent:mime-version:content-type:content-transfer-encoding:x-priority:importance:from:sender; b=MJg4I2VsdA+keNa1sUMb3v9ubmJvYsI4HtWb+v+QDkacOnkaQcF8eHXDWHbENeQiVYW/RnJVlb4DSY0UhBn+liEcnlMKrucqY3iH9EZjwfIXvqLglSGC+A/zIImhVFsBRORQWRT4FXNHVVWBzILAkBSXWoNvhdt9VMTljQou2k0= Received: by 10.90.78.9 with SMTP id a9mr1269504agb.1185708917017; Sun, 29 Jul 2007 04:35:17 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.139.14]) by mx.google.com with ESMTPS id 8sm2016832agd.2007.07.29.04.35.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Jul 2007 04:35:16 -0700 (PDT) Received: from rakhesh.com (asterix.home.rakhesh.com [192.168.17.23]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 0E8F011420; Sun, 29 Jul 2007 15:34:53 +0400 (GST) Received: from 212.72.24.148 (SquirrelMail authenticated user rakhesh) by rakhesh.com with HTTP; Sun, 29 Jul 2007 15:34:21 +0400 (GST) Message-ID: <52486.212.72.24.148.1185708861.squirrel@rakhesh.com> In-Reply-To: <46AC59C3.7080804@fsck.ch> References: <46AC527F.4010305@fsck.ch> <46AC58B0.6060808@u.washington.edu> <46AC59C3.7080804@fsck.ch> Date: Sun, 29 Jul 2007 15:34:21 +0400 (GST) To: "Garrett Cooper" , freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal From: Rakhesh Sasidharan Sender: Rakhesh Sasidharan Cc: Subject: Re: portsnap from cron 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: Sun, 29 Jul 2007 11:41:27 -0000 On Sun, July 29, 2007 13:11, Tobias Roth wrote: > Garrett Cooper wrote: > >> That's not going to change until portversion changes. The problem is >> most likely that portsnap touches the file and portversion finds it >> necessary to update the portsdb. Processing the text from portversion >> will yield the info you want. >> Cheers, >> -Garrett > > Ohh, now at least I have an idea why it is suddenly happening, and how > to fix it. I'll either run portsdb between portsnap and portversion, or > try to grep out the unneeded stuff. > I use pkg_version. Same functionality as portversion, but its slower coz it doesn't use the INDEX.db file. Maybe you could use that to avoid the messages? :) (The speed won't matter coz its run as a cron job anyways!) Do 'pkg_version -l "<" ' to get a list of ports that need updating ..... Thanks, Rakhesh