From owner-freebsd-ports@FreeBSD.ORG Sat Feb 26 16:34:53 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 F357C1065672 for ; Sat, 26 Feb 2011 16:34:52 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id AA1318FC12 for ; Sat, 26 Feb 2011 16:34:52 +0000 (UTC) Received: by gyh4 with SMTP id 4so1234875gyh.13 for ; Sat, 26 Feb 2011 08:34:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer; bh=Ul0JLrkfg1lwKinLtj9WooNlBsHxq14xqTFggic6hcw=; b=ZpQ3rvb3/tqnL24ojVyyy0ttZ5goTASY5ylfelApbQ6WU9qbMHpbJ3i54fVp65bCCL mO28GP4Fn9SpwGo2Iw8PsOFIvFI1fBZoQ3+MQKadV7+/MqFIcCT/a027A1m21n1l06TI LwA94G7kGxfm0QlOQz4DbSdahM1Ize58ktpj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=p8mq/fvYb1/F8NE0XPr69cwF4MZ9YHUgiwY4F1B6ouSdVDGDtTWZ4JeGQiA8JgaOup UW6yvL8xFzQL4tspE5OmQ3tOMMcptVU4swe8UYRB4XfJ4zdtGmSD54aepa2XPQzET0B2 Iey7idIYpU6vKecetvsVWNzknlavFZ9tHSJ3Y= Received: by 10.150.190.5 with SMTP id n5mr5221556ybf.194.1298738092067; Sat, 26 Feb 2011 08:34:52 -0800 (PST) Received: from [192.168.6.230] ([201.21.166.97]) by mx.google.com with ESMTPS id 14sm1110123yhl.22.2011.02.26.08.34.48 (version=SSLv3 cipher=OTHER); Sat, 26 Feb 2011 08:34:51 -0800 (PST) From: Sergio de Almeida Lenzi To: David Demelier In-Reply-To: <4D690CA4.9090008@gmail.com> References: <4D690CA4.9090008@gmail.com> Date: Sat, 26 Feb 2011 13:34:46 -0300 Message-ID: <1298738086.92768.3.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: Find a corrupt port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2011 16:34:53 -0000 I use this script to get rid of the problem the script detects @pkgdep record without argument and deletes it from the +CONTENTS file in the /var/db/pkg/* directory =========================================== for i in /var/db/pkg/*/+CONTENTS do if grep -q "@pkgdep $" $i then sed -i "" -e "/@pkgdep $/d" $i echo nullpkg in $i fi done ============================================== Em Sáb, 2011-02-26 às 15:22 +0100, David Demelier escreveu: > Hello, > > It seems I have a corrupted port on my system : > > $ pkg_info > [...] > dmxproto-2.3 DMX extension headers > pkg_info: corrupted record (pkgdep line without argument), ignoring > pkg_info: corrupted record (pkgdep line without argument), ignoring > pkg_info: corrupted record (pkgdep line without argument), ignoring > pkg_info: corrupted record (pkgdep line without argument), ignoring > docproj-1.17_4 The "meta-port" for the FreeBSD Documentation Project > [...] > > Because it happens after dmxproto O tought it was this one, but after a > make deinstall reinstall in x11/dmxproto the corrupt message is still > there so I'm guessing if it's the corrupted port. > > How can I easily find? > > Cheers, >