Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2011 07:55:14 -0700
From:      Jason Helfman <jhelfman@e-e.com>
To:        Alexandre <axelbsd@ymail.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: pkg_version: corrupted record (pkgdep line without argument), ignoring
Message-ID:  <20111020145514.GA61229@eggman.experts-exchange.com>
In-Reply-To: <CA%2B8gk99sxC1Dkd4U0AKO8zzV5WzKWz0B2bNU=EogRCZTH8tQkw@mail.gmail.com>
References:  <20111020092052.30d2a947@scorpio> <CA%2B8gk99sxC1Dkd4U0AKO8zzV5WzKWz0B2bNU=EogRCZTH8tQkw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 20, 2011 at 04:24:19PM +0200, Alexandre thus spake:
>On Thu, Oct 20, 2011 at 3:20 PM, Jerry <jerry@seibercom.net> 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.
>>
>> --
>> Jerry ✌
>> jerry+fbsd@seibercom.net
>>
>
>Hi Jerry,
>
>Have you tried this :
># portmaster --check-depends
># portmaster -Da
>
>Source :
>http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/
>
>You can have a look on this thread, where Doug Barton (portmaster's author)
>explain another way to resolve this problem.
>http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/e2054d1cfadc0e3a/66c038dfffb36d40?lnk=raot&pli=1
>
Try looking into reporting pkgs from the output of this too:

#!/bin/sh
grep -A1 "^@pkgdep $" /var/db/pkg/*/+CONTENTS

-jgh

-- 
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111020145514.GA61229>