NetBSD Problem Report #18913

Received: (qmail 5815 invoked by uid 605); 4 Nov 2002 05:32:17 -0000
Message-Id: <200211040633.gA46XHN04006@mofo.grunta.com>
Date: Mon, 4 Nov 2002 17:33:17 +1100 (EST)
From: grant@netbsd.org
Sender: gnats-bugs-owner@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: pkg_* tools should be smarter about reading binary packages
X-Send-Pr-Version: 3.95

>Number:         18913
>Category:       pkg
>Synopsis:       pkg_* tools should be smarter about reading binary packages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 04 05:33:00 +0000 2002
>Closed-Date:    Sat Dec 20 03:35:13 +0000 2003
>Last-Modified:  Sat Dec 20 03:35:13 +0000 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: grant 
State-Changed-When: Sat Dec 20 03:34:07 UTC 2003 
State-Changed-Why:  
fixed in pkg_install/lib/file.c rev. 1.70. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.