pkg_version: corrupted record (pkgdep line without argument),
	ignoring
    b. f. 
    bf1783 at googlemail.com
       
    Sun Oct 23 01:59:02 UTC 2011
    
    
  
On 10/22/11, b. f. <bf1783 at googlemail.com> 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.
    
    
More information about the freebsd-questions
mailing list