Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2002 18:04:30 -0700 (PDT)
From:      Paul te Bokkel <paul@tebokkel.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42018: pkg_info with PKG_PATH searches through tarred pkgs
Message-ID:  <200208260104.g7Q14U4X018480@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42018
>Category:       ports
>Synopsis:       pkg_info with PKG_PATH searches through tarred pkgs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 25 18:10:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul te Bokkel
>Release:        4.6.2
>Organization:
>Environment:
FreeBSD naya.internal.tebokkel.com 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #1: Sat Aug 24 13:18:25 CEST 2002     root@naya.internal.tebokkel.com:/usr/obj/usr/src/sys/NAYA  i386

>Description:
pkg_info normally searches /var/db/pkg, but if PKG_PATH is set (ie to /usr/ports/packages/All), all tarred (bzip'ped) packages get unpacked to obtain version info. Installed package-info also gets displayed, but not installed packages not (but they seem to be unpacked though).	
>How-To-Repeat:
run pkg_info. See the speed
Make sure packages (preferably some large ones) exist in /usr/ports/packages/All, i.e. using pkg_tarup on X and moving the .tgz's to /All)
export PKG_PATH=/usr/ports/packages/All
run pkg_info. It's slow.
>Fix:
Dunno, didn't look into it since it's low priority and maybe on purpose. Should be documented though.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208260104.g7Q14U4X018480>