Re: pkg_version: corrupted record (pkgdep line without argument)

看板FB_questions作者時間14年前 (2011/10/23 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
On 10/22/11, b. f. <bf1783@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. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1EetoZGY (FB_questions)