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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to