bin/154877: pkg_info error message should contain information ab

看板FB_bugs作者時間15年前 (2011/02/19 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
>Number: 154877 >Category: bin >Synopsis: pkg_info error message should contain information about which file the error is in >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 19 07:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Gary Palmer >Release: FreeBSD 7.4-RC1 >Organization: >Environment: >Description: One of my package +CONTENTS files somehow ended up with a @pkgdep line with no argument on it. This prompted pkg_info (and other tools) to issue a warning like: % pkg_info -W /usr/local/bin/vncviewer pkg_info: corrupted record (pkgdep line without argument), ignoring /usr/local/bin/vncviewer was installed by package tightvnc-1.3.10_3 % However it didn't mention which package file the problem was in, leading me to resort to ktrace to figure it out. I shouldn't need to use ktrace to figure it out - the error message should be more explicit about where the problem is. >How-To-Repeat: Edit a +CONTENTS file to add an empty @pkgdep line and then run % pkg_info -W /usr/local/bin/vncviewer >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1DNtY_tn (FB_bugs)