From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 22:22:39 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 154B0106564A for ; Fri, 12 Aug 2011 22:22:39 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9B3528FC08 for ; Fri, 12 Aug 2011 22:22:38 +0000 (UTC) Received: by wwi36 with SMTP id 36so3652301wwi.31 for ; Fri, 12 Aug 2011 15:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=L1V2fI5sNUpnIsYyI9JPkzHt6xeV2P7o/DLq6EMOQpk=; b=CM64+k0wPdYXTjJT4XMP6rQ4CkB3RaNz9oIlaAFAODJZg1XhnI58bPlCdKoq5KNjay hoY+bi5MQbZgX1FN6AQoT+Uj2S55kYkZsoO/eitic69+W5BZEqMSINpqOO0IbeBWufcL Hl8SrXVN+ICwFsH5xvVuY/ABrybmeIIyZeRVw= MIME-Version: 1.0 Received: by 10.216.134.33 with SMTP id r33mr1266160wei.1.1313187757363; Fri, 12 Aug 2011 15:22:37 -0700 (PDT) Received: by 10.216.165.17 with HTTP; Fri, 12 Aug 2011 15:22:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 12 Aug 2011 15:22:37 -0700 Message-ID: From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 22:22:39 -0000 On Fri, Aug 12, 2011 at 12:44, Adam Vande More wrot= e: > On Fri, Aug 12, 2011 at 1:15 PM, Warren Block wrote: >> >> I'd never seen it with portupgrade, either. =C2=A0Don't know the cause, = but it >> can be a problem. =C2=A0portmaster --check-depends might fix it. =C2=A0A= 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. > > If I remember correctly, this can be caused by Ctrl-C out of a portmaster > run early, or perhaps some other abnormal termination.=C2=A0 IIRC, some > improvements have been done for this problem as it's been quite awhile si= nce > I've seen it personally, but your mileage may vary. > > -- > Adam Vande More That sounds reasonable. Don't know that I've ever done that, but memory dims as I grow older.... Kurt