Subject: bin/18913: pkg_* tools should be smarter about reading binary packages
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 11/04/2002 17:33:17
>Number:         18913
>Category:       bin
>Synopsis:       pkg_* tools should be smarter about reading binary packages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 03 21:33:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        NetBSD 1.6K
>Organization:
>Environment:
System: NetBSD mofo 1.6K NetBSD 1.6K (MOFO) #0: Sun Nov 3 22:34:54 EST 2002 grant@mofo:/data1/netbsd/current/src/sys/arch/i386/compile/MOFO i386
Architecture: i386
Machine: i386
>Description:
with pax-as-tar, pkg_* tools read the entire package file to extract
the + files before performing any tasks. This can take a long time and
is inefficient, especially when specifying a location on a remote server.
It should not be necessary to read the entire package to query it.

>How-To-Repeat:
pkg_info filename

observe that the entire file is read before pax exits.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: