From ajudge@maths.tcd.ie  Mon Oct 23 05:18:16 1995
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 <FreeBSD-gnats-submit@freebsd.org>; 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 <ajudge@maths.tcd.ie>
Reply-To: nops@maths.tcd.ie
To: FreeBSD-gnats-submit@freebsd.org
Cc: nops@maths.tcd.ie
Subject: pkg_add broken in 2.1.0-951020?
X-Send-Pr-Version: 3.2

>Number:         789
>Category:       bin
>Synopsis:       pkg_add doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jkh
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 23 05:20:00 PDT 1995
>Closed-Date:    Sun Jun 2 21:49:05 PDT 1996
>Last-Modified:  Sun Jun  2 21:49:30 PDT 1996
>Originator:     Alan Judge
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Department of Maths, Trinity College, Dublin, Ireland
>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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Sun May 26 23:42:13 PDT 1996 
Responsible-Changed-Why:  
Jordan's baby... 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Jun 2 21:49:05 PDT 1996 
State-Changed-Why:  
Ancient, long since fixed. 
>Unformatted:
