From owner-freebsd-ports@FreeBSD.ORG Sun Oct 23 01:56:14 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFC2D106564A for ; Sun, 23 Oct 2011 01:56:14 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E65F8FC16 for ; Sun, 23 Oct 2011 01:56:13 +0000 (UTC) Received: by wyi40 with SMTP id 40so6618671wyi.13 for ; Sat, 22 Oct 2011 18:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=zYOXx1fr9dpVsgicrTsbwWjlpyLhBGsaDCpdbpUyhu8=; b=INMlecBybbwUQn4Q02A/R1lxRjNKW6myTg8QObWfm/aBrr1DaGHXJm1wgfKK4frBxs 7HpR4Ba5kUGwjVjXWb2l4/QDT+M/1iXaMNp0IsmCjcInehXziBfVXRqpfE21pr7YRwJN ePTj+WYujn79fuiy7gohT+cD81zE8arvwzYlo= MIME-Version: 1.0 Received: by 10.227.6.199 with SMTP id a7mr7368667wba.74.1319334973200; Sat, 22 Oct 2011 18:56:13 -0700 (PDT) Received: by 10.180.98.5 with HTTP; Sat, 22 Oct 2011 18:56:13 -0700 (PDT) Date: Sat, 22 Oct 2011 21:56:13 -0400 Message-ID: From: "b. f." To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: pkg_version: corrupted record (pkgdep line without argument), ignoring X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 01:56:14 -0000 Jerry wrote: > After attempting unsuccessfully to update KDE4 via "portmaster", I > found a number of errors printed out when using "pkg_version-vIL=". > > I eventually used "portmanager" to update the KDE4 port successfully; > however, I am still receiving the following error messages. > > These ports need updating: > pkg_version: corrupted record (pkgdep line without argument), ignoring > pkg_version: corrupted record (pkgdep line without argument), ignoring > pkg_version: corrupted record (pkgdep line without argument), ignoring > koffice-kde4-2.3.3_3 < needs updating (index has 2.3.3_5) > postgresql-client-8.2.21 < needs updating (index has 8.2.22_1) > > I have not found a way to ascertain which ports contain the corrupted > records. Originally, there were over a dozen of them but "portmanager" > fixed most of them for me. How can I determine what ports are still > damaged so that I might correct them. As the others have written, you could use sed, grep, or visual inspection to examine the pkgdb. Alternatively, you could try testing one port at a time, to see what ports pkg_version chokes on, by using something like: pkg_info -aE | xargs -tI @ pkg_version -vIL= -s @ b.