From owner-freebsd-bugs Mon Oct 23 05:20:02 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA04883 for bugs-outgoing; Mon, 23 Oct 1995 05:20:02 -0700 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA04877 ; Mon, 23 Oct 1995 05:20:01 -0700 Resent-Date: Mon, 23 Oct 1995 05:20:01 -0700 Resent-Message-Id: <199510231220.FAA04877@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, nops@maths.tcd.ie Received: from salmon.maths.tcd.ie (mmdf@salmon.maths.tcd.ie [134.226.81.11]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id FAA04824 for ; Mon, 23 Oct 1995 05:16:31 -0700 Received: from synge.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id aa18309; 23 Oct 95 13:15 BST Received: (from ajudge@localhost) by synge.maths.tcd.ie (8.6.12/8.6.12) id MAA03126; Mon, 23 Oct 1995 12:15:26 GMT Message-Id: <199510231215.MAA03126@synge.maths.tcd.ie> Date: Mon, 23 Oct 1995 12:15:26 GMT From: Alan Judge Reply-To: nops@maths.tcd.ie To: FreeBSD-gnats-submit@freebsd.org Cc: nops@maths.tcd.ie X-Send-Pr-Version: 3.2 Subject: bin/789: pkg_add broken in 2.1.0-951020? Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 789 >Category: bin >Synopsis: pkg_add doesn't work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 23 05:20:00 PDT 1995 >Last-Modified: >Originator: Alan Judge >Organization: Department of Maths, Trinity College, Dublin, Ireland >Release: FreeBSD 2.1-STABLE i386 >Environment: P120 with 2.1.0-951020-SNAP installed. Using some of the 2.1-packages. >Description: pkg_add doesn't seem to work properly. Two problems: - If the package is in the current directory, pkg_add can't seem to find it unless you give a full path. - Even given a full path, pkg_add just seems to go through the motions (run's mtree, updates /var/db/pkg) but doesn't actually install any of the package. Example output below. >How-To-Repeat: synge# cd /tmp synge# pkg_add tcpblast-1.0.tgz tar: can't open archive ./tcpblast-1.0.tgz : No such file or directory tar: child returned status 3 tar: +CONTENTS not found in archive Unable to open table of contents file `+CONTENTS' - not a package? synge# pkg_add /tmp/tcpblast-1.0.tgz synge# ls -ls /usr/local/bin synge# synge# pkg_info -Ia tcpblast-1.0 This is the TCPBLAST program. Segmentation fault (core dumped) synge# pkg_delete tcpblast-1.0 File `/usr/local/bin/tcpblast' doesn't really exist. >Fix: You can always install by hand.. A quick look at info would indicate that the core is due to leave_playpen being called even though info doesn't have a playpen. >Audit-Trail: >Unformatted: