From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 01:59:02 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 7A576106566B for ; Sun, 23 Oct 2011 01:59:02 +0000 (UTC) (envelope-from bf1783@googlemail.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 0F3A18FC1B for ; Sun, 23 Oct 2011 01:59:01 +0000 (UTC) Received: by wwi18 with SMTP id 18so7221243wwi.31 for ; Sat, 22 Oct 2011 18:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=6mdNxjZiWFMI1GGy1N9tjhpGKFnPu+u63mngyGxMhLo=; b=EqVG5z0Hq6Cyuu4FCAassIWmuQ2P1QnCtCM7bh6MF2YeECyk794EncPtjGx7ajodA4 5deomN2lvjfr2iEim4Gm63VG1GQYX1VDTKKRJ0Fa8h9QtIZ+UuwW3M58bm+MP6USvpt4 3KqQRYykychOaXj7ihqFR7o0taoMCPxWa83eQ= MIME-Version: 1.0 Received: by 10.227.6.199 with SMTP id a7mr7370597wba.74.1319335140906; Sat, 22 Oct 2011 18:59:00 -0700 (PDT) Received: by 10.180.98.5 with HTTP; Sat, 22 Oct 2011 18:59:00 -0700 (PDT) In-Reply-To: References: Date: Sat, 22 Oct 2011 21:59:00 -0400 Message-ID: From: "b. f." To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: pkg_version: corrupted record (pkgdep line without argument), ignoring X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 01:59:02 -0000 On 10/22/11, b. f. wrote: > 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 @ Bah, sent this to freebsd-ports by mistake. Sorry. b.