From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 18:15:34 2011 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 55EB8106566C for ; Fri, 12 Aug 2011 18:15:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 12D4F8FC15 for ; Fri, 12 Aug 2011 18:15:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p7CIFX13055869; Fri, 12 Aug 2011 12:15:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p7CIFXeA055866; Fri, 12 Aug 2011 12:15:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 12 Aug 2011 12:15:33 -0600 (MDT) From: Warren Block To: Kurt Buff In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 12 Aug 2011 12:15:33 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: pkdgb and corrupted record(s) 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: Fri, 12 Aug 2011 18:15:34 -0000 On Fri, 12 Aug 2011, Kurt Buff wrote: > This seems fairly benign so far, but I find it happening on several > machines after switching from portupgrade to portmaster. Don't know if > that switch is actually part of the issue or not, though I'm really > liking portmaster. I'd never seen it with portupgrade, either. Don't know the cause, but it can be a problem. portmaster --check-depends might fix it. A more brute-force way is to figure out which are the problems with find /var/db/pkg -name "+CONTENTS" -exec egrep -B1 -H 'pkgdep $' {} \; Then rebuild all of them by feeding the list to portmaster, which will sort them and rebuild in the right order to fix it.